You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
accessibility keyboard support for chart legends #14706
For accessibility the chart legend labels should be keyboard accessible with a tabindex and should be clickable with the enter key. Also, the legend prev/next arrow buttons should have the same keyboard controls.
What does the proposed API look like?
adding tabindex to legend labels and buttons
adding keydown.enter events to legend labels and buttons
Reacted by Tsvetan Ganev, marmaak, Simone Boccato, Yi Shen, Jacopo Mattietto, Robert Linder, Dominika Klobučníková, RFMV34, Dylan Kario, Crusoe Xia and 7 more
I know that this is very specific to chart's legend, but since it is a new feature (based on the tag added by @plainheart) can I suggest to take a look at how Highcharts implemented the keyboard navigation for the whole chart? Maybe this issue might be more generic...
In my company we are evaluating to change the chart library we are using, and we were really impressed by Echarts and all the possibilities it offers, also the documentation and samples are very clear and easy to understand, but one of the most important thing for us is the accessibility and it will be really important to understand which are the plans of Echarts about this topic in order to take the right decision on our side 😃 🙇🏻
Reacted by Yi Shen, Robert Linder, Dominika Klobučníková, RFMV34, Dylan Kario, Crusoe Xia, Cory LaViska, lpirtchard, Yaacov and Brandon Powers
Demo Code as proof-of-concept - integration of ECharts and chart2music. Legend keyboard accessibility - try key 's' for scatter and 'b' for bar chart.
There is also individual data points highlighting with music(!) and more, press H to see hotkey Help.
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
Reacted by 123123123123123123123123123123123123123123123123123123
Activity
marmaak commentedon Jan 4, 2022
Hi!
I know that this is very specific to chart's legend, but since it is a new feature (based on the tag added by @plainheart) can I suggest to take a look at how Highcharts implemented the keyboard navigation for the whole chart? Maybe this issue might be more generic...
https://www.highcharts.com/accessibility/#exploreFeatures
In my company we are evaluating to change the chart library we are using, and we were really impressed by Echarts and all the possibilities it offers, also the documentation and samples are very clear and easy to understand, but one of the most important thing for us is the accessibility and it will be really important to understand which are the plans of Echarts about this topic in order to take the right decision on our side 😃 🙇🏻
RFMV34 commentedon Mar 11, 2022
We also need at least keyboard accessibility at least for legends, but ideally for the whole chart.
helgasoft commentedon Feb 20, 2023
Demo Code as proof-of-concept - integration of ECharts and chart2music.
Legend keyboard accessibility - try key 's' for scatter and 'b' for bar chart.
There is also individual data points highlighting with music(!) and more, press H to see hotkey Help.
github-actions commentedon Feb 19, 2025
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
github-actions commentedon Feb 26, 2025
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
mermonkey commentedon Feb 26, 2025
@plainheart @Ovilia This is a critical feature. Are we not getting it in 6.0?
d-t-w commentedon Feb 27, 2025
+1 for critical feature!
mermonkey commentedon May 20, 2025
Is keyboard accessibility being tracked with any open issue? This is a big gap when comparing to highcharts...
helgasoft commentedon May 20, 2025
keyboard accessibility is there when the chart has focus - Demo