Accessibility Traits

Accessibility traits that tell an assistive application how an accessibility element behaves or should be treated.

Topics

Constants

UIAccessibilityTraitNone

The accessibility element has no traits.

UIAccessibilityTraitButton

The accessibility element should be treated as a button.

UIAccessibilityTraitLink

The accessibility element should be treated as a link.

UIAccessibilityTraitSearchField

The accessibility element should be treated as a search field.

UIAccessibilityTraitImage

The accessibility element should be treated as an image.

UIAccessibilityTraitSelected

The accessibility element is currently selected.

UIAccessibilityTraitPlaysSound

The accessibility element plays its own sound when activated.

UIAccessibilityTraitKeyboardKey

The accessibility element behaves as a keyboard key.

UIAccessibilityTraitStaticText

The accessibility element should be treated as static text that cannot change.

UIAccessibilityTraitSummaryElement

The accessibility element provides summary information when the application starts.

UIAccessibilityTraitNotEnabled

The accessibility element is not enabled and does not respond to user interaction.

UIAccessibilityTraitUpdatesFrequently

The accessibility element frequently updates its label or value.

UIAccessibilityTraitStartsMediaSession

The accessibility element starts a media session when it is activated.

UIAccessibilityTraitAdjustable

The accessibility element allows continuous adjustment through a range of values.

UIAccessibilityTraitAllowsDirectInteraction

The accessibility element allows direct touch interaction for VoiceOver users.

UIAccessibilityTraitCausesPageTurn

The accessibility element should cause an automatic page turn when VoiceOver finishes reading the text within it.

UIAccessibilityTraitHeader

The accessibility element is a header that divides content into sections, such as the title of a navigation bar.