Instance Property

accessibilityElement

A Boolean value that determines whether the accessibility element participates in the accessibility hierarchy.

Required.

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 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 YES.

See Also

Configuring Accessibility

accessibilityEnabled

A Boolean value that determines whether the element responds to user events.

Required.

accessibilityFrame

The element’s frame in screen coordinates.

Required.

accessibilityHelp

The help text for the accessibility element.

Required.

accessibilityLabel

A short description of the accessibility element.

Required.

accessibilityTitle

The title of the accessibility element—for example, a button’s visible text.

Required.

accessibilityValue

The element’s value.

Required.