The modal is closed by default. Click the button below to open the modal. The button has a class of "trigger".
This modal demonstrates a basic accessible dialog. It can be closed by the Escape key, by clicking the overlay, or by clicking any Close button.
Focus is trapped within the modal while it is open. Try tabbing through the controls to see the focus trap in action.