WWDC Notes

Accessibility in SwiftUI

Show Apple's description.
Making your app accessible is critical, but just as important is designing a fantastic accessibility experience. Learn what makes a great experience and how to make your app understandable, navigable, and interactable. SwiftUI builds accessibility into your app for you! Discover how much you get with no extra adoption, like accessible images and controls. Identify where you can add supplemental accessibility information with the new SwiftUI Accessibility API, which gives you the tools to add information to elements such as labels, values, and hints.

Make sure the app accessibility is:

  • Understandable: Labels
  • Interactable: Actions
  • Navigable: Ordering and Grouping

Accessibility notifications

E.g. after pressing the equal button = on a calculator app, we can fire an accessibility notification telling Siri that the result value has changed.

Making Buttons More Accessible

Making Images More Accessible

  • Images can be created with an optional label parameter, this parameter will be used by voiceover and the likes.
  • If an image is not part of the core experience we can initialize it with the decorative parameter, this way it will be ignored by the accessibility system features.

Missing anything? Corrections? Contributions are welcome 😃


Written by


Federico Zanetello

Federico Zanetello is an iOS Engineer with strong passion for Swift, minimalism, and design. When he’s not busy automating things, he can be found writing at fivestars.blog and/or playing with the latest shiny toys.