Day 95

Explore charts with Audio Graphs (AXChart)

21 Aug 2022

Love this feature! Yahoo released the possibility to explore charts with audio, in the finance app, when using screen readers in 2019. You can do now something very similar since iOS 15.

https://coolblindtech.com/yahoo-finance-app-makes-charts-accessible-to-blind-and-partially-sighted-users/

Health app is open on the Steps section. When selecting the graph, there is a Audio Graph rotor. When it is selected, you can swipe down for a Describe Chart action, swipe down one more time for the Playing Audiograph action, swipe down again for Chart Details. When double tapping an Audio Graph screen is open. There is also a play button for playing the whole graph. The code shows you how you can conform to AXChart by overriding accessibilityChartDescriptor and it shows how you can build the data series descriptor by mapping your data model into AXDataPoints.

You can move your finger in the x-axes, and it will play a sound with a different pitch depending on the data in the y-axes, making it easier to identify trends in the graphs.

You need to conform to the AXChart protocol by implementing the accessibilityChartDescriptor property.

Documentation: https://developer.apple.com/documentation/accessibility/audio-graphs

WWDC21 session: https://developer.apple.com/videos/play/wwdc2021/10122/

Some of you have asked me how you can support what I do. This would really help, and would be hugely appreciated:

  • Find these posts useful? Share them at work, on social media, or with anyone that might find them interesting. Let's spread the word!

  • Check out any of my apps or games: Xarra!, RetroRapid!, or Mestre!.

    • A download and a review go a long way. They're free by default. On the App Store, ratings and reviews really help more people discover them.

    • Finding any of them useful? If so, and if you can afford it, purchasing lifetime access to all features or subscribing lets me buy the coffee that keeps me caffeinated. Caffeine keeps me going to maintain the apps, bring in new features that I hope you'll love, and keep writing.

You may also find interesting...

Toggles or UISwitches are often found separated from the label that precedes (and describes) them; with an unclear label; missing a value, trait, or hint; or even not being actionable at all.

Manual testing is crucial. And therefore, reducing friction to let you start your testing process can be a huge help. Selecting some accessibility shortcuts will do that, putting most of iOS' accessibility features at a triple-click of a button.

Anything representing a heading in the app should have the header trait. It allows for a faster way of exploring a screen and jumping to the part of the app you are interested in. Screens should also start with a header.


Content © Daniel Devesa Derksen-Staats on Accessibility up to 11! is licensed under CC BY 4.0. License details