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
[SR] Update graph elements so their aria-describedby is read in non-Chrome browsers (#2309)
## Summary:
Descriptions are not working in Safari or Firefox.
After a number of Slack discussions, it was determined that this was caused by the description blocks being defined within SVGs.
With a small amount of refactoring, we can make is so that the screen reader reads as expected across browsers.
Note: This does not include any changes for the outer graph descriptions, just the interactive elements and their surrounding container inside the graph SVG.
Issue: https://khanacademy.atlassian.net/browse/LEMS-2914
## Test plan:
`yarn jest`
Storybook
- http://localhost:6006/?path=/story/perseuseditor-widgets-interactive-graph--interactive-graph-segment
- Go through every graph type in Storybook
- Confirm that the screen reader experience matches what's in the SR tree
Author: nishasy
Reviewers: mark-fitzgerald, catandthemachines
Required Reviewers:
Approved By: mark-fitzgerald
Checks: ✅ 8 checks were successful
Pull Request URL: #2309
0 commit comments