Page with a Modal

This example demonstrates a modal dialog component. It is closed by default. Click the button below to open it.

Other content

Tab around to see focus behavior when the modal is opened (keyboard: Tab, Shift+Tab; close: Esc).

Example link