We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Accessibility and aria-label in charts

Hi!


I am trying to understand how the accessibility support for the charts component works. Looking at the generated markup, I noticed that all "path" elements have the aria-label attribute, but without any value specified in them.


Also, is there any way to specify the aria-label attribute on a chart? It is currently hardcoded as "Chart" and there doesn't seem to be any ways to change it. I've tried adding the attribute on the component, but this throws an exception. I also tried to add the Title on the chart, but this doesn't add it as the aria-label (and I don't necessarily want to display the title since I am already displaying it outside of the chart).


Thanks in advance for any help


2 Replies

SB Swetha Babu Syncfusion Team December 7, 2022 06:57 AM UTC

Hi Bruno,


Greetings from Syncfusion.


We have considered the reported scenario as a bug and logged a defect report for the same. The fix for the reported scenario will be included in our weekly patch release which is expected to be rolled out on 27th December 2022. Please find the below feedback link to keep track of the reported scenario.


Feedback link: https://www.syncfusion.com/feedback/39636/aria-label-attribute-is-empty-in-all-the-elements-of-the-chart


If you have any more specifications/precise replication procedure to be followed, please add it as a comment in the portal.


Regards,

Swetha



DG Durga Gopalakrishnan Syncfusion Team December 29, 2022 05:35 AM UTC

Hi Bruno,


We are glad to announce that our v20.4.0.40 patch release is rolled out; we have added the fix for reported issue. You can use the latest Syncfusion.Blazor.Charts NuGet package.


NuGet Package : https://www.nuget.org/packages/Syncfusion.Blazor.Charts/


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Durga Gopalakrishnan.


Loader.
Live Chat Icon For mobile
Up arrow icon