Accessibility Traits

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

Topics

Constants

static var none: UIAccessibilityTraits

The accessibility element has no traits.

static var button: UIAccessibilityTraits

The accessibility element should be treated as a button.

static var link: UIAccessibilityTraits

The accessibility element should be treated as a link.

static var searchField: UIAccessibilityTraits

The accessibility element should be treated as a search field.

static var image: UIAccessibilityTraits

The accessibility element should be treated as an image.

static var selected: UIAccessibilityTraits

The accessibility element is currently selected.

static var playsSound: UIAccessibilityTraits

The accessibility element plays its own sound when activated.

static var keyboardKey: UIAccessibilityTraits

The accessibility element behaves as a keyboard key.

static var staticText: UIAccessibilityTraits

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

static var summaryElement: UIAccessibilityTraits

The accessibility element provides summary information when the application starts.

static var notEnabled: UIAccessibilityTraits

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

static var updatesFrequently: UIAccessibilityTraits

The accessibility element frequently updates its label or value.

static var startsMediaSession: UIAccessibilityTraits

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

static var adjustable: UIAccessibilityTraits

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

static var allowsDirectInteraction: UIAccessibilityTraits

The accessibility element allows direct touch interaction for VoiceOver users.

static var causesPageTurn: UIAccessibilityTraits

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

static var header: UIAccessibilityTraits

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