A blog about making mobile more accessible for all.
Edited by Rob Whitaker
Accessibility is important, but why is it important to think about it now when SwiftUI is so new? And what are the innovations that make SwiftUI such a great improvement?
Semantic views are possibly the most powerful a11y tool a dev has, and SwiftUI makes them super simple.
SwiftUI allows us to read values that might affect how we want to present our UI. Including our customer's accessibility choices.
Accessibility traits are incredibly powerful. They’re a group of attributes that tell assistive technology how to treat your UI. Get them wrong and you’ll make your interface frustrating
The AUI or accessibility tree is how assistive technologies control your app. SwiftUI has some great improvements to this experience. It’s all free if you adopt SwiftUI.
Sometimes VoiceOver's natural order is not the one that makes the most sense for your app. SwiftUI lets you change that.
All controls in SwiftUI can take a Text element as part of their builder. This makes controlling your app with VoiceOver or VoiceControl way easier.
There’s some important changes to image accessibility in SwiftUI, if you’re not expecting them you could be making a bad experience for your VoiceOver customers.