Invalid aria-colindex and aria-rowindex attributes in the grid

Hi,


When using the SfGrid component, I noticed that the aria-colindex and aria-rowindex attributes that are added in the grid start at 0, but the documentation for those attributes says that the value for them is an integer greater than or equal to 1.

See documentation for the aria-rowindex: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-rowindex

And for the aria-colindex: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-colindex


Is there a way to make the grid start at 1 for those values when generated?


Thanks!

Bruno


3 Replies 1 reply marked as answer

MS Monisha Saravanan Syncfusion Team September 26, 2022 03:44 PM UTC

Hi Bruno,


Greetings from Syncfusion support.


Query: “When using the SfGrid component, I noticed that the aria-colindex and aria-rowindex attributes that are added in the grid start at 0, but the documentation for those attributes says that the value for them is an integer greater than or equal to 1.”


We have checked your query and we could see that in DataGrid the aria-colindex and aria-rowindex are started with 1 only. We have prepared an video demonstration. Kindly check the attached video for additional information.


Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/VI46AC~1131107070.zip


If the reported issue still persist then kindly share the below details to validate further at our end.


  1. Share us the entire Grid code snippet along with model class.
  2. Share us the video demonstration of the issue.
  3. Share us the Syncfusion Nuget version used at your end
  4. If possible kindly share us the issue reproduceable sample.


The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.


Regards,

Monisha



Marked as answer

BB Bruno Barrette September 28, 2022 03:56 PM UTC

Hi,


Thanks for the reply. I noticed that I tried it with an older version (19.x), but after upgrading to the latest it worked correctly.


Thanks again!

Bruno



MS Monisha Saravanan Syncfusion Team September 29, 2022 04:51 PM UTC

Hi Bruno,


Welcome.


We are glad to hear that the reported issue has been resolved at your end. Kindly get back to us if you have further queries.


Regards,
Monisha


Loader.
Up arrow icon