fusioncharts-dist icon indicating copy to clipboard operation
fusioncharts-dist copied to clipboard

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

Open leon0leon opened this issue 2 years ago • 0 comments

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.

leon0leon avatar Feb 02 '23 04:02 leon0leon