Protocol

NSAccessibilityElement

A role-based protocol that declares the minimum interface required to interact with an accessibility client.

Declaration

@protocol NSAccessibilityElement

Overview

In general, your user interface elements should not adopt this protocol. They should adopt a more specific, role-based protocol instead. For a list of role-based protocols, see NSAccessibility.

Topics

Accessibility Methods

- accessibilityFrame

Returns the element’s frame in screen coordinates.

Required.

- accessibilityIdentifier

Returns the element’s identity.

- accessibilityParent

Returns the accessibility element’s parent in the accessibility hierarchy.

Required.

- isAccessibilityFocused

Returns a Boolean value that indicates whether the accessibility element has the keyboard focus.

See Also

AppKit Elements

NSAccessibilityButton

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

NSAccessibilityCheckBox

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

NSAccessibilityImage

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

NSAccessibilityList

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

NSAccessibilityNavigableStaticText

A role-based protocol that declares the minimum interface required for an accessibility element to act as navigable static text.

NSAccessibilityOutline

A role-based protocol that declares the minimum interface required for an accessibility element to act as an outline view.

NSAccessibilityProgressIndicator

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

NSAccessibilityRadioButton

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

NSAccessibilityRow

A role-based protocol that declares the minimum interface required for an accessibility element to act as a row for a table, list, or outline view.

NSAccessibilitySlider

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

NSAccessibilityStaticText

A role-based protocol that declares the minimum interface required for an accessibility element to act as static text.

NSAccessibilityStepper

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

NSAccessibilitySwitch

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

NSAccessibilityTable

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