Focus Trap
Focus gets stuck inside one part of the page.
Definition
Confinement of keyboard focus within a region, which is correct for modal dialogs and a defect anywhere else.
Craft convention. True because the industry converged on it. Breaking it costs familiarity, not correctness.
On this plate
In plain language
Focus gets stuck inside one part of the page.
Example
A modal should trap focus and release it on Escape. A carousel that traps focus is broken.
Local chart
TERM·078 · Region X · Grid C6
This entry and the entries it is stated to connect with. Each line is labelled with what the connection means.
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Deeper reading
The full entry behind this definition.
- Focus ManagementA11Y·004 · Accessibility
- Keyboard NavigationA11Y·002 · Accessibility
- Modal DialogCMP·010 · Component
Nearby in the Atlas
Adjacent territory, found through shared tags rather than a stated link.