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

Override aria-label applied to <path> element

Is there a way to override the aria-label in any way? On this page:

https://ej2.syncfusion.com/documentation/chart/accessibility/

Series points are read from "PointX:PointYValue". Our data looks like this:

{ name: 'Place', value: 5}

So, for our bar chart we have "name" (PointX) and a numerical value e.g. 3 (PointYValue). Our aria-label ends up being "name:5".

Is there any way to use "Point x value : Point y value" or provide any kind of override?

In this case we would prefer our aria-label to be "Place:5" rather than "name:5". It seems to work fine for our accumulation chart but all values get a suffix of % which I guess is a different issue!

Thanks!


2 Replies

DG Durga Gopalakrishnan Syncfusion Team November 8, 2022 09:59 AM

Hi Matthew,


Greetings from Syncfusion.


By default, the aria-label for path will display x value, y value and series name. It is an actual behavior. As of now, we are facing problem in displaying the values for path, so we have considered this case as bug and logged a defect report for this issue. This fix will be available in our weekly patch release which is scheduled to be rolled out on 22nd November 2022. We appreciate your patience until then. You can keep track of the bug from the below feedback link.


Feedback Link :  https://www.syncfusion.com/feedback/38920/chart-series-path-aria-label-value-is-not-proper


If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.


Regards,

Durga Gopalakrishnan.



DG Durga Gopalakrishnan Syncfusion Team November 22, 2022 08:48 AM

Hi Matthew,


We are glad to announce that our v20.3.58 patch release is rolled out; we have added the fix for reported issue and is available for download under the following link.


Npm Packages : https://www.npmjs.com/~syncfusionorg       


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