Instance Property


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


@property(nonatomic) BOOL isAccessibilityElement;


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.