This is an example page demonstrating a modal dialog component. The modal is closed by default. Use the button below to open it.
Open modal
Keyboard and focus are managed when the modal is open: focus is trapped inside the dialog and Escape closes it.
This modal demonstrates a simple accessible dialog component. It is closed by default and opened by a button with the class "trigger".