A Boolean value that determines whether the accessibility element participates in the accessibility hierarchy.
- macOS 10.10+
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
NO, accessibility clients ignore this element. By default,
NSView and its subclasses set this value to
NO; however, if your
NSView subclass adopts one of the accessibility protocols, the system changes the default value to