Charts Accessibility #1973
akashsonune
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Charts Accessibility
Based on my understanding after looking at different chart libraries and their accessibility handling, I see that the chart user expect below things while interacting with charts
I tried to cover case 1 and 2 in the PR- #1964 See demo
For the third case (as discussed with @panch1739 that it can be useful to have), we have some options that Echart offers.
ECharts can automatically generate a full spoken description of the chart: series names, data point values, etc. The problem is that for any chart with a reasonable amount of data, this description becomes very long — potentially several minutes of reading. More critically, the user has no way to pause, skip, or stop it once it starts.
Unfortunately, it renders the data inside a plain text field rather than a proper table, meaning screen readers cannot navigate it by row and column. It is not meaningfully accessible. It is also poorly positioned and conflicts with other chart elements.
Here are examples of other charting solutions
Carbon - https://carbondesignsystem.com/data-visualization/simple-charts/#area-(simple)
High charts - https://www.highcharts.com/demo/highcharts/line-chart
Current Implementation in Element - Demo
If there are any inputs or better accessibility examples around the charts, feel free to suggest, along with the feedback for the current implementation
@panch1739 @dr-itz @kfenner @spike-rabbit
Beta Was this translation helpful? Give feedback.
All reactions