Protocol

NSAccessibilityNavigableStaticText

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

Declaration

@protocol NSAccessibilityNavigableStaticText

Overview

Use this protocol to represent larger blocks of text. The protocol will allow users to navigate through the text a line at a time or a word at a time using an accessibility client. For shorter pieces of text (for example, labels or headers), use the NSAccessibilityStaticText protocol instead. You can further enhance the adopting element by implementing any of the information properties or action methods declared in the NSAccessibility protocol.

Topics

Text Navigation Methods

- accessibilityFrameForRange:

Returns the rectangle enclosing the specified range of characters.

Required.

- accessibilityLineForIndex:

Returns the line number for the line holding the specified character index.

Required.

- accessibilityRangeForLine:

Returns the range of characters in the specified line.

Required.

- accessibilityStringForRange:

Returns the substring for the specified range.

Required.

Relationships

Conforming Types

See Also

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.

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.