Instance Property

accessibilityRole

The type of interface element represented by the accessibility element.

Required.

Declaration

@property(copy) NSAccessibilityRole accessibilityRole;

Discussion

This property contains a nonlocalized string that defines the element’s role in the app. For a list of possible roles, see Roles. This property is set automatically when you adopt one of the accessibility protocols.

See Also

Assigning Actions and Roles

accessibilityCustomActions

The custom actions of the current element.

Required.

accessibilityCustomRotors

The custom rotors of the current element.

Required.

accessibilityRequired

A Boolean value that determines whether the element is required to have content for successful submission of a form.

Required.

accessibilityRoleDescription

A localized, human-intelligible description of the element’s role, such as "radio button.”

Required.

accessibilitySubrole

The specialized interface element type represented by the accessibility element.

Required.