New
Last Updated: 04 Jan 2019 09:41 by ADMIN
YUANTAO
Created on: 04 Jan 2019 09:36
Category: Grid
Type: Feature Request
1
Allow the aria attributes of grid to be customised

Hi,

We are using Fusion software and the grid ARIA attributes of rows are "aria-describedby". This results in the invalid/wrong action tips for Fusion users. If we change it to "aria-labelledby" it works well. 

Currently, we have to override the private method _tmpl so we can edit the hardcoded attribute. We need to be able to change this part of the source:

if (navigatable) {
    rowTemplate += " aria-describedby='" + column.headerAttributes.id + "'";
}

It would be great if we can configure them from the grid settings.

$("#grid").kendoGrid({
 ariaAttribute: "aria-describedby"
});

Then the _tmpl function will change like this:

if (navigatable) {
  rowTemplate += (that.ariaAttribute ? that.ariaAttribute + "='" : " aria-describedby='") + column.headerAttributes.id + "'";
}

Thank you in advance.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments