When focusing on a line-breaking legend, the text announced by the screen reader contains HTML code
leon0leon opened this issue · 0 comments
leon0leon commented
Each line of the line-breaking legend text is wrapped in the <tspan>
tags and set the corresponding coordinates.
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.