-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a11y): keyboard navigation changes of expand and selection buttons (
#7048) * added key down events for expand buttons - Added key down event function for expand all and expand tree buttons. To enable expand button for Enter and Space Keys. * added key-down event for row header button * formatting changes * added key down event for expand all button * updated key down event for selection button * added tab index to enable navigation * added tab index for keyboard navigation
- Loading branch information
Showing
6 changed files
with
18 additions
and
2 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
1 change: 1 addition & 0 deletions
1
packages/selection/src/templates/selectionRowHeaderButtons.html
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
1 change: 1 addition & 0 deletions
1
packages/selection/src/templates/selectionSelectAllButtons.html
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
4 changes: 3 additions & 1 deletion
4
packages/tree-base/src/templates/treeBaseExpandAllButtons.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<div | ||
class="ui-grid-tree-base-row-header-buttons" | ||
tabindex="0" | ||
ng-class="headerButtonClass()" | ||
ng-click="headerButtonClick($event)"> | ||
ng-click="headerButtonClick($event)" | ||
ng-keydown="headerButtonKeyDown($event)"> | ||
</div> |
2 changes: 2 additions & 0 deletions
2
packages/tree-base/src/templates/treeBaseRowHeaderButtons.html
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