fusioncharts / fusioncharts-dist

FusionCharts JavaScript Charting library. Over 95+ charts and 1,400+ maps to choose from, with integrations available for all popular JavaScript frameworks & back-end programming languages.
https://www.fusioncharts.com
Other
84 stars 46 forks source link

The word "chart" is announced twice when some charts announce "This is a {chartType} chart" #49

Open leon0leon opened 1 year ago

leon0leon commented 1 year ago

Some charts have the word "Chart" in their chartType names, such as "Multi-series 2D Single Y Combination Chart". This causes problems. After integrating the official Accessibility Extension provided by FusionCharts, the word "chart" was announced twice when announcing "This is a {chartType} chart" to the visually impaired people. As shown in the screenshot below: image

becka11y commented 1 year ago

I think the issue is some of your {chartType} values contain the word "chart" and others do not. Since this same string may be used for multiple chart types, either "chart" should be in all {chartType} values and removed from the string. Or, the word chart should not be included in {chartType} and included in the resourced sentence.