Unplanned
Last Updated: 18 May 2022 08:00 by ADMIN
Jeff
Created on: 11 May 2022 12:31
Category: KendoReact
Type: Feature Request
0
Grid k-grid-norecords row should have a role="row" according to Axe a11y checks

If you show a Grid with no rows, the Kendo Grid displays a `k-grid-norecords` row. The generated HTML for this is:

<tr class="k-grid-norecords" aria-rowindex="2"><td colspan="5">No records available</td></tr>

If you run Axe accessibility checks (axe-core 4.4.1) against this, it reports:

Impact: critical
Elements must only use allowed ARIA attributes
ARIA attribute is not allowed: aria-rowindex="2"

It seems that according to Axe, this <tr> element should have `role="row"` to make it compliant.

Normal data rows, where there is data, do include `role="row"`. Only the 'no records' row seems to be missing it. Can this role be added?

1 comment
ADMIN
Filip
Posted on: 18 May 2022 08:00

Hello, Jeff,

Thank you for the submitted feature request. We will be monitoring it closely.

Regards, FilipProgress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.