jordibruin / Swift-Charts-Examples

An overview of the different types of charts you can make with Swift Charts
MIT License
2.04k stars 129 forks source link

Add accessibility labels and descriptors for day/week ScreenTime chart #84

Closed mathewa6 closed 2 years ago

mathewa6 commented 2 years ago

This PR adds accessibility support for ScreenTime charts. The labels, values and descriptors attempt to mimic Apple's implementation of the same in the Settings.app charts (see captions at bottom of these screens).

IMG_2548 IMG_2547

This should complete some base level accessibility for all chart types (Some charts like Area charts only have chart descriptor support).

I'll update issue #24 with potential next steps/tasks that I think can help flesh out accessibility support.

jordibruin commented 2 years ago

😘