-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Open
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
Version
5.6.0
Link to Minimal Reproduction
https://codepen.io/meganthomas/pen/YPXEOgX
Steps to Reproduce
- Load the SVG chart.
- Turn on a screen reader.
- Attempt to use all the same functionality via keyboard that you would use via mouse. For example, clicking on one of the legend items, such as "Email" in the codepen, to remove it from the chart.
Current Behavior
- I can't navigate to the legend items via keyboard. I can't toggle the legend items on/off with a keyboard.
Expected Behavior
- I should be able to navigate to the legend items via keyboard. They should be button elements with a name, role, and value.
- Any other parts of the chart that are clickable by mouse should also be activable by keyboard.
Environment
- OS: macOS Sequoia
- Browser: Chrome 137.0.7151.69
- Screen Reader: VoiceOver
Any additional comments?
Accessibility Information from Deque: How to make interactive charts accessible
- anything a mouse user can do (activate buttons, toggle on and off parts of charts) must be accessible by keyboard as well
- all buttons must have a name and role. Buttons with selected states must also have a value.
- what is visually seen but be read by a screen reader - either as is or in another format like a table
- ensure all color contrast requirements are met
- avoid using color alone to convey information
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.