-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CQ-4295097): Accessibility - Spectrum SelectList user is not able…
… to select next group with keyboard (#127) * CQ-4295097 : Accessibility - Spectrum SelectList user is not able to select next group with keyboard CQ-4295097 refactor _tabTarget setter and _resetTabTarget method With SelectList groups only one item should receive focus at a time. When resetting tabTarget, prioritized selected items over selectable items, but prioritize the last focused item over the first of the items in the array. In Select component, we _resetTabTarget before the list opens, prioritizing the first selected item over the first selectable item. * CQ-4295097 SelectableCollection: fix _getPreviousSelectable and _getNextSelectable Fixes TabList unit test failures. * fix(CQ-4295097): add unit tests for keyboard navigation between groups * fix(CQ-4295097): refactor per code comments * fix(CQ-4295097): Updates per code comments Co-authored-by: abdul pathan <pathan@adobe.com>
- Loading branch information
1 parent
b8b5463
commit c80e629
Showing
4 changed files
with
100 additions
and
17 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
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