Instance Property

isAccessibilityElement

A Boolean value indicating whether the receiver is an accessibility element that an assistive application can access.

Declaration

@property(nonatomic) BOOL isAccessibilityElement;

Discussion

The default value for this property is NO unless the receiver is a standard UIKit control, in which case the value is YES.

Assistive applications can get information only about objects that are represented by accessibility elements. Therefore, if you implement a custom control or view that should be accessible to users with disabilities, set this property to YES. The only exception to this practice is a view that merely serves as a container for other items that should be accessible. Such a view should implement the UIAccessibilityContainer protocol and set this property to NO.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software