Protocol

NSAccessibilityStaticText

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

Declaration

@protocol NSAccessibilityStaticText

Overview

Static text elements are typically used for short pieces of text, such as headers or labels. For longer blocks of text, use the NSAccessibilityNavigableStaticText protocol. You can further enhance the adopting element by implementing any of the information properties or action methods declared in the NSAccessibility protocol.

Topics

Accessibility Methods

- accessibilityAttributedStringForRange:

Returns the attributed substring for the specified range of characters.

- accessibilityValue

Returns the text displayed by the element.

Required.

- accessibilityVisibleCharacterRange

Returns the range of visible characters in the document.

Relationships

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.

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.

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.