...
Key | Function |
---|---|
Tab | Moves focus to the next focusable element inside the modal. If the focus is on the last focusable element, the focus is returned to the first focusable element. |
Shift + Tab moves | Moves focus to the previous focusable element inside the modal. If the focus is on the first focusable element, the focus moves to the last focusable element. |
Escape | Closes the modal |
Enter or Return | Selects buttons or links within the modal. |
Figure 2 - Keyboard commands for successful keyboard operation of a modal
...