Instance Property
インスタンスプロパティ
accessibilityTraits
The combination of accessibility traits that best characterizes the accessibility element.
Discussion
解説
The default value for this property is UIAccessibilityTraitNone
unless the element is a UIKit control, in which case, the value is the standard set of traits for the control.
If you implement a custom control or view, you need to select all the accessibility traits that best characterize the object, and combine them with its superclass’s traits (that is, with super.accessibilityTraits
) by performing an OR operation. See Accessibility Traits
for a complete list of traits.
See Also
参照
Supporting Basic Accessibility
isAccessibilityElement
A Boolean value that indicates whether the element is an accessibility element that an assistive app can access.
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.