Skip to content

accessibility keyboard support for chart legends #14706

Closed as not planned
Closed as not planned

Description

@christian-smith

What problem does this feature solve?

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

Activity

  1. added
    en
    on Apr 19, 2021
  2. marmaak commented on Jan 4, 2022

    @marmaak

    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 😃 🙇🏻

  3. RFMV34 commented on Mar 11, 2022

    @RFMV34

    We also need at least keyboard accessibility at least for legends, but ideally for the whole chart.

  4. helgasoft commented on Feb 20, 2023

    @helgasoft

    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.

    image

  5. moved this to Pending in ECharts 6.0on Jan 31, 2024
  6. github-actions commented on Feb 19, 2025

    @github-actions
    Contributor

    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.

  7. added
    stale
    on Feb 19, 2025
  8. github-actions commented on Feb 26, 2025

    @github-actions
    Contributor

    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!

  9. moved this from Pending to Done in ECharts 6.0on Feb 26, 2025
  10. mermonkey commented on Feb 26, 2025

    @mermonkey

    @plainheart @Ovilia This is a critical feature. Are we not getting it in 6.0?

  11. d-t-w commented on Feb 27, 2025

    @d-t-w

    +1 for critical feature!

  12. mermonkey commented on May 20, 2025

    @mermonkey

    Is keyboard accessibility being tracked with any open issue? This is a big gap when comparing to highcharts...

  13. helgasoft commented on May 20, 2025

    @helgasoft

    keyboard accessibility is there when the chart has focus - Demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityennew-featurestale

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions