Structure

UIAccessibilityTraits

A mask that contains the OR combination of the accessibility traits that best characterize an accessibility element.

Declaration

struct UIAccessibilityTraits

Topics

Type Properties

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 button: UIAccessibilityTraits

The accessibility element should be treated as a button.

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.

static var image: UIAccessibilityTraits

The accessibility element should be treated as an image.

static var keyboardKey: UIAccessibilityTraits

The accessibility element behaves as a keyboard key.

static var link: UIAccessibilityTraits

The accessibility element should be treated as a link.

static var none: UIAccessibilityTraits

The accessibility element has no traits.

static var notEnabled: UIAccessibilityTraits

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

static var playsSound: UIAccessibilityTraits

The accessibility element plays its own sound when activated.

static var searchField: UIAccessibilityTraits

The accessibility element should be treated as a search field.

static var selected: UIAccessibilityTraits

The accessibility element is currently selected.

static var startsMediaSession: UIAccessibilityTraits

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

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 updatesFrequently: UIAccessibilityTraits

The accessibility element frequently updates its label or value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software