IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics
https://bit.ly/2kuu1fT
Other
477 stars 84 forks source link

ig DataGrid does not provide an API to mention a row's function #2249

Open saychakraborty89 opened 4 months ago

saychakraborty89 commented 4 months ago

Description

We use igGrids widely in our codebase. Our ui is such that if you double click or press enter after selecting row, an action takes place. IgGrid does not provide an API through which we can specify the additional responsibility of row. In our case for example, it should a row as well as button.

Steps to reproduce

  1. Intiate igGrid from javascript code.
  2. On the cellclick events, bind a handler that does some action.
  3. Use NVDA to move through the rows, see that there is no information available that can tell the user that this element can work as a button.

Violated Accessibility Guideline

This viloates WCAG success criterion 4.1.2 - Name, Role, Value.

Result

User does not have enough information in an element to know the rows can perform other actions too.

Expected result

IgGrid should provide an API that can enable the consuming code to tell igGrid about any other actions the rows are going to perform. This additional information needs to be present in html in such a way that the assistive technology can read it. For example, NVDA should be able to state that this is a row but it also is a button.