The combination of accessibility traits that best characterize the accessibility element.
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The default value for this property is
UIAccessibility unless the receiver is a UIKit control, in which case the value is the standard set of traits associated with 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 (in other words, with
super) by performing an OR operation. See Accessibility Traits for a complete list of traits.