Accessibility

Make your app more accessible to users with disabilities.

Topics

First Steps

NSAccessibility

The complete list of properties and methods implemented by accessible elements.

NSAccessibilityContainsTransientUI

A set of methods that support accessibility in a UI that changes dynamically—usually in response to mouse-hover events.

AppKit Elements

NSAccessibilityElement

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

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.

Custom Elements

NSAccessibilityElement

The basic infrastructure required to interact with an accessibility client.

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.

Convenience Functions

NSAccessibilityActionDescription

Returns a standard description for an action.

NSAccessibilityPostNotification

Sends a notification to any observing assistive applications.

NSAccessibilityPostNotificationWithUserInfo

Sends a notification and an optional userInfo dictionary to any observing assistive applications.

NSAccessibilityRaiseBadArgumentException

Raises an error if the parameter is the wrong type or has an illegal value

Deprecated
NSAccessibilityRoleDescription

Returns a standard description for a role and subrole.

NSAccessibilityRoleDescriptionForUIElement

Returns a standard role description for a user interface element.

NSAccessibilitySetMayContainProtectedContent

Sets whether the app may have protected content.

NSAccessibilityUnignoredChildren

Returns a list of unignored accessibility objects, descending the hierarchy if necessary.

NSAccessibilityUnignoredChildrenForOnlyChild

Returns a list of unignored accessibility objects, descending the hierarchy if necessary.

NSAccessibilityUnignoredDescendant

Returns an unignored accessibility object, descending the hierarchy if necessary.

NSAccessibilityUnignoredAncestor

Returns an unignored accessibility object, ascending the hierarchy if necessary.

NSAccessibilityFrameInView

Returns the frame in screen coordinates.

NSAccessibilityPointInView

Returns the point in screen coordinates.

Deprecated

NSAccessibility

A legacy, informal protocol that is not recommended for active use.

See Also

User Interactions

Mouse, Keyboard, and Trackpad

Handle events related to mouse, keyboard, and trackpad input.

Gestures

Encapsulate your app's event-handling logic in gesture recognizers so that you can reuse that code throughout your app.

Drag and Drop

Support the direct manipulation of your app's content using drag and drop.