The keyboard navigation of the Dialog is always available.
When the Dialog is opened, the initial focus is set on the
Dialog element. This approach enables the user to immediately select or navigate between the action buttons by using the
Tab keys, and to close the Dialog with the
|Calls the |
|Moves the focus to the previous focusable element.|
|Moves the focus to the next focusable element.|
The following example is based on the official accessibility standard for a modal dialog.