Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When focusing on a line-breaking legend, the text announced by the screen reader contains HTML code #52

Open
leon0leon opened this issue Feb 2, 2023 · 0 comments

Comments

@leon0leon
Copy link

Each line of the line-breaking legend text is wrapped in the <tspan> tags and set the corresponding coordinates.

image

The Accessibility Extension provided by FusionCharts assigns the original HTML of the line-breaking legend to aria-label instead of plain text:
aria-label="Toggle the slicing of <tspan x="28">25.33% Venezuela</tspan><tspan dy="18" x="28">Countries With Most Oil</tspan><tspan dy="18" x="28">Reserves In MMbbl = One</tspan><tspan dy="18" x="28">Million barrels</tspan>"
This causes the text announced by screen readers to contain HTML code when focusing on a line-breaking legend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant