accessibilityElement
A Boolean value that determines whether the accessibility element participates in the accessibility hierarchy.
Declaration
@property (getter=isAccessibilityElement) BOOL accessibilityElement;Discussion
Use this property to expose this object to accessibility clients as a functional interface element. For example, when you place a button in a window, the system typically creates a button cell inside a button control inside a container view inside a window. Users, however, don’t care about the view hierarchy details. They should only be told that there’s a button in a window.
If this property is set to false, accessibility clients ignore this element. By default, NSView and its subclasses set this value to false; however, if your NSView subclass adopts one of the accessibility protocols, the system changes the default value to true.
See Also
Related Documentation
unignoredDescendant(of:)unignoredAncestor(of:)unignoredChildrenForOnlyChild(from:)unignoredChildren(from:)