...
- Keyboard access is limited to only interacting with the modal dialog once it is visible
- When the modal window is opened, focused is moved to the first element in the window that can receive focus.
- As a user tabs through all focusable elements, they are cycled back to the beginning of the window
- The user is able to close the modal window through a clearly indicated close or OK button. In addition, ESC may also be set to close the window.
- After the modal is closed, focus is return to the element that user was on before the modal window was opened (or an appropriate element if the contents of the page have changed)
For screen reader as above plus:
...