This example shows a simple accessible modal dialog. The button that opens the dialog has the class "trigger".
This is a focused, keyboard-trappable modal dialog. You can close it by:
Try tabbing through the controls to see the focus trap in action.