You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiDataGrid] a11y roles not valid (gridcell without row) #4474
changed the title [-]DataGrid: a11y roles not valid (gridcell without row)[/-][+][EuiDataGrid] a11y roles not valid (gridcell without row)[/+]on Feb 2, 2021
Need to convert react-window's use of Grid back to List (so that it can be a vertical List of rows, and each row would then have a horizontal List of cells) which breaks a few APIs which is annoying. You can get kind of close feeling pretty quickly but getting the last 10% working takes just as long.
Would be a bigger effort but the API of react-virtual is actually loads better than react-window... And it supports variable and dynamic heights out of the box...
Activity
[-]DataGrid: a11y roles not valid (gridcell without row)[/-][+][EuiDataGrid] a11y roles not valid (gridcell without row)[/+]myasonik commentedon Feb 2, 2021
@chandlerprall how does EUI's automated testing not fail on the same thing?
chandlerprall commentedon Feb 2, 2021
Datagrid pages are disabled in the axe check
myasonik commentedon Feb 2, 2021
For EUI, I can't think of a workaround for getting around this requirement. A
role=gridneeds children withrole=row.For Kibana, at this point, the most practical solution is probably to ignore datagrid classes in the tests. @flash1293 I can help you set that up.
j-m commentedon May 27, 2021
Looks like react-window is unlikely to fix this (bvaughn/react-window#217)
myasonik commentedon Aug 12, 2021
Did some exploration on this:
react-window's use ofGridback toList(so that it can be a verticalListof rows, and each row would then have a horizontalListof cells) which breaks a few APIs which is annoying. You can get kind of close feeling pretty quickly but getting the last 10% working takes just as long.react-window... And it supports variable and dynamic heights out of the box...