Modal Dialog Example
Click the button below to open an accessible modal dialog.
This template demonstrates an accessible modal dialog that follows WCAG 2.1 AA requirements:
- Focus is trapped within the modal
- Escape key closes the modal
- Focus returns to trigger button when closed
- Background is inert when modal is open
- Proper ARIA attributes for screen readers