Class

NSAccessibilityElement

The basic infrastructure required to interact with an accessibility client.

Declaration

@interface NSAccessibilityElement : NSObject

Overview

Create subclasses of the NSAccessibilityElement class to represent any of your accessibility elements that do not inherit from NSView or from one of the standard AppKit controls. This subclass will represent your element in the accessibility hierarchy. Additionally, your subclass should adopt one of the role-based protocols. For a list of role-based protocols, see NSAccessibility.

Topics

Supporting the Accessibility Hierarchy

- accessibilityAddChildElement:

Adds a child to the element in the accessibility hierarchy.

+ accessibilityElementWithRole:frame:label:parent:

Instantiates and configures a new accessibility element.

accessibilityFrameInParentSpace

Sets the element’s frame in its parent’s coordinate system.

Relationships

Inherits From

Conforms To

See Also

Custom Elements

NSAccessibilityGroup

A role-based protocol that declares the minimum interface required to act as a container for other user interface elements.

NSAccessibilityLayoutArea

A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout area.

NSAccessibilityLayoutItem

A role-based protocol that declares the minimum interface required for an accessibility element to act as a layout item.