-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added some ARIA roles to the table in range_selector.njk * WIP: Remove tab handler * WIP: Dynamically move the tabindex around to preserve the focus when we tab out and back * Fix CellRef right/below logic so cursor movements work around merged cells * Fix #73 by tracking the *actual* end cell around when we shift+arrow key, rather than the *effective* end cell We were getting stuck in loops where the actual end cell was a cell that, due to merging, was expanding the selection further - and then trying to shift+arrow in the opposite direction to that extension put the end cell back in the original "actual" end cell, which then expanded out to put the selection exactly back where it was. * Tabbing in and out of the table now works and preserves the focus... ...but tabbing out destroys the selection, which means our use case of setting up a selection then tabbing to a submit button doesn't work. * Stopped tabbing out of a table from deleting the selection * Remove debug logging, fix indentation * Apply aria-selected attributes to grid cells, and aria-multiselectable to the table * Fix crtl+a (select all) * Comments and TODOs * Minimum width on table cells * WCAG 2.2 focused element has a solid border * Max column width, text wrapping --------- Co-authored-by: Alaric Snell-Pym <[email protected]>
- Loading branch information
Showing
4 changed files
with
118 additions
and
28 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters