Keyboard Navigation
Managing the Focus
Only when the Card component is located in a CardList, it is focusable. Otherwise, it does not implement any specific WAI-Aria and Keyboard Navigation.
Keyboard Navigation
The Card component has the following shortcuts:
Shortcut | Behavior |
---|---|
Enter | The Enter key enables the keyboard navigation within the Card element. All focusable elements are included in the tab sequence including the content of the card. |
Tab | If Enter has been pressed, moves the focus to the next focusable inner element. When the navigation reaches the last focusable inner element, the Card component becomes focused. If Enter has not been pressed, moves the focus to the next focusable element within the page. |
Shift + Tab | If Enter has been pressed, moves the focus to the previous focusable inner element. When the navigation reaches the first focusable inner element, the Card component becomes focused. |
Escape | The Escape key returns the focus to the Card component. |