modal routeFocus has
Focus has
a boundary.
02 / containA modal should
A modal should
make space.
Open this one to feel the shared focus trap, inert neighbors, Escape dismissal, and focus restoration.
You are inside
the focus trap.
Nested surfaces keep their own dismissal step. Escape closes the topmost surface before this room.
This tooltip stays inside the dialog.
Escape and outside press dismiss only this panel first.
One more
focus boundary.
Close this layer to resume the parent dialog.
ESC closes the top layer