Introduction

Heads up... You're reading this book for free, with parts of this chapter shown beyond this point as scrambled text.

In lesson 1, you saw and heard how SwiftUI default accessibility works in a very simple app. For more complex apps, default labels, values, and ordering might not be enough to enable VoiceOver users to operate your app efficiently — or at all. The SwiftUI Accessibility API provides tools you can use to improve your app’s accessibility. In this lesson, you’ll:

  • Learn what tools are available to you in the SwiftUI Accessibility API.
  • See how to use the SwiftUI Accessibility API to make your app understandable, interactable, and navigable.

At the time of writing, Xcode 15 beta 3’s Accessibility Inspector doesn’t work for the Vision Pro simulator, so this lesson uses iOS simulators and devices. The iOS SwiftUI Accessibility API also works for visionOS, and lesson 3 will cover additional ones for visionOS.

See forum comments
Download course materials from Github
Previous: Intro to Accessibility Quiz Next: SwiftUI Accessibility API