Speech Attributes for Attributed Strings

Apply attributes to text in an attributed string to modify how that text is pronounced.

Topics

Constants

UIAccessibilitySpeechAttributePunctuation

A key indicating whether punctuation is spoken.

UIAccessibilitySpeechAttributeLanguage

A key indicating the language to use when speaking a string.

UIAccessibilitySpeechAttributePitch

A key indicating the pitch to apply to spoken content.

UIAccessibilitySpeechAttributeQueueAnnouncement

A key indicating whether the spoken text is queued behind, or interrupts, existing spoken content.

See Also

Defining Accessibility Text and Language

Text Attributes for Attributed Strings

Apply attributes to text in an attributed string to convey extra information about the text.

accessibilityHeaderElements

An array of elements considered to be the headers for this element.

accessibilityAttributedHint

The underlying attributed version of the accessibility hint.

accessibilityHint

A brief description of the result of performing an action on the accessibility element, in a localized string.

accessibilityAttributedLabel

The underlying attributed version of the accessibility label.

accessibilityLabel

A succinct label that identifies the accessibility element, in a localized string.

accessibilityLanguage

The language in which to speak the accessibility element's label, value, and hint.

accessibilityTextualContext

A named context that helps identify and classify the type of text inside an element.

accessibilityAttributedUserInputLabels

The underlying attributed versions of the accessibility user input labels.

accessibilityUserInputLabels

An array of localized labels the user provides to refer to this element.

accessibilityAttributedValue

The underlying attributed version of the accessibility value.

accessibilityValue

The value of the accessibility element, in a localized string.