Modal Dialog Demo

This is the page behind the modal. When the modal opens, this content will be marked as inert (aria-hidden) for assistive technologies and won't be reachable by keyboard navigation.

Try focusing elements, then open the modal using the button above. The modal traps focus, can be closed with the Esc key, by clicking the overlay, or the close button.

Example link