Instance Property

accessibilityUserInputLabels

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

Declaration

@property(nonatomic, strong) NSArray<NSString *> *accessibilityUserInputLabels;

Discussion

The default value for this property is an empty array unless the receiver is a UIKit control. In that case, the value is an array with an appropriate label, if different from accessibilityLabel.

Use this property when the accessibilityLabel is not appropriate for dictated or typed input. For example, an element that contains additional descriptive information in its accessibilityLabel can return a more concise label. The primary label should be first in the array, optionally followed by alternative labels in descending order of importance. If this property returns an empty array or an invalid value, the accessibilityLabel is used instead.

See Also

Defining Accessibility Text and Language

Speech Attributes for Attributed Strings

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

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.

accessibilityAttributedValue

The underlying attributed version of the accessibility value.

accessibilityValue

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