accessibilityRole
The type of interface element that the accessibility element represents.
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.