Keyboard Navigation
The keyboard navigation of the ButtonGroup is available by default.
The ButtonGroup supports the following keyboard shortcuts:
SHORTCUT | DESCRIPTION |
---|---|
Right Arrow | Focuses the next button in the group. |
Left Arrow | Focuses the previous button in the group. |
Enter & Space | Toggles the selected state of the focused button. |
Disabled Keyboard Navigation
To disable the default keyboard navigation and include all buttons in the natural tab sequence of the page,
set the ButtonGroup navigable
option to false
.
The following example demonstrates this approach: