-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tree): improve keyboard navigation (#7618)
**Related Issue:** #6861 ## Summary Improves tree's keyboard navigation to move across all items and users can now tab to the next focusable element without having to traverse all items. ### Notes * items are now programmatically-focusable only (e.g., `tabindex="-1"`) since the tree moves focus * keyboard navigation based on https://www.w3.org/WAI/ARIA/apg/patterns/treeview/examples/treeview-1a/#kbd_label * consolidated tree tests and improved coverage * moved all navigation logic to the tree-level * refactored item traversal logic to cover all cases * moved tree `keyDownHandler` to use VDOM event.
- Loading branch information
Showing
5 changed files
with
396 additions
and
448 deletions.
There are no files selected for viewing
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
Oops, something went wrong.