This example demonstrates an accessible modal dialog. The modal is closed by default. Use the button below (it has a class of "trigger") to open it.
Some focusable items to show background interaction is blocked when modal is open.
More content.
This is a simple modal dialog. Keyboard users can press Escape to close. Tab is trapped inside the dialog while it is open.