Contents

Accessibility modifiers

Make your SwiftUI apps accessible to everyone, including people with disabilities.

Overview

Like all Apple UI frameworks, SwiftUI comes with built-in accessibility support. The framework introspects common elements like navigation views, lists, text fields, sliders, buttons, and so on, and provides basic accessibility labels and values by default. You don’t have to do any extra work to enable these standard accessibility features.

SwiftUI also provides tools to help you enhance the accessibility of your app. For example, you can explicitly add accessibility labels to elements in your UI using the accessibilityLabel(_:) or the accessibilityValue(_:) view modifier.

To learn more about adding accessibility features to your app, see Accessibility fundamentals.

Topics

Labels

Values

Hints

Actions

Gestures

Elements

Custom controls

Custom content

Working with rotors

Configuring rotors

Focus

Traits

Identity

Color inversion

Content descriptions

VoiceOver

Charts

Large content

Quick actions

See Also

Configuring view elements