Open steve-haar opened 2 years ago
We allow keyboard users to resize columns by tabbing to the column separator and using the arrow keys. If tab jumps out of the grid, that won't work anymore.
Fun related issue:
I have to disagree. The checkbox is a standard control, it's not datagrid custom control. We can't take it out of tab order easily. We do transfer focus to it when using arrow keys, but taking it out of the tab sequence does not seem right to me. Even if we hack it for the checkboxes that we generate (the ones for selection) we won't be able to force it on any user-provided cells that may also contain checkboxes.
Also, the provided examples link (https://www.w3.org/WAI/ARIA/apg/example-index/grid/dataGrids) does not contain data grids with checkboxes
About Kevin's comment, yes this is a minor bug we may consider fixing. The key-nav service does not reinitialize its index on manual focus of an in-content input.
I think Amy is correct here. The tab key should not force keyboard users to tab through each row in the grid to get out of it.
The W3 guidelines support this bug report as well.
Only one of the focusable elements contained by the grid is included in the page tab sequence.
In ideal world, I agree this is best. But should we only do it for our own generated controls, or for user content too? Our users tend to put quite complex thing into grid cells, especially in expandable rows - they sometimes have whole child data grids inside. If we start stealing focus from them, we'll find ourselves in a big pool of bugs.
Tab should not jump to the next datagrid checkbox, instead it should jump out of the grid
From Amy Li