---
title: AttributeScopes.AccessibilityAttributes.TextualContextAttribute
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/attributescopes/accessibilityattributes/textualcontextattribute
---

# AttributeScopes.AccessibilityAttributes.TextualContextAttribute

An attribute for the textual context.

## Declaration

```swift
@frozen enum TextualContextAttribute
```

## Overview

Overview Assistive technologies can use this property to choose an appropriate way to output the text. For example, when encountering a source coding context, VoiceOver could choose to speak all punctuation. note: This attribute is not used on macOS

## Topics

### Enumerations

- [AttributeScopes.AccessibilityAttributes.TextualContextAttribute.TextualContext](foundation/attributescopes/accessibilityattributes/textualcontextattribute/textualcontext.md)

## Relationships

### Conforms To

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DecodableAttributedStringKey](foundation/decodableattributedstringkey.md)
- [EncodableAttributedStringKey](foundation/encodableattributedstringkey.md)
- [MarkdownDecodableAttributedStringKey](foundation/markdowndecodableattributedstringkey.md)
- [ObjectiveCConvertibleAttributedStringKey](foundation/objectivecconvertibleattributedstringkey.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
