Instance Property
インスタンスプロパティ
isAccessibilityElement
A Boolean value that indicates whether the element is an accessibility element that an assistive app can access.
Declaration
宣言
@property(nonatomic) BOOL isAccessibilityElement;
Discussion
解説
The default value for this property is NO
unless the element is a standard UIKit control, in which case, the value is YES
.
Assistive apps can get information only about objects that accessibility elements represent. Therefore, if you implement a custom control or view that you want to 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 you want to be accessible. Implement the UIAccessibilityContainer
protocol and set this property to NO
.
See Also
参照
Supporting Basic Accessibility
accessibilityLabel
A succinct label in a localized string that identifies the accessibility element.
accessibilityValue
A localized string that contains the value of the accessibility element.
accessibilityHint
A localized string that contains a brief description of the result of performing an action on the accessibility element.
accessibilityTraits
The combination of accessibility traits that best characterizes the accessibility element.