Keyboard trap
A part of a page that keyboard focus can enter but not leave, so someone using a keyboard is stuck.
A keyboard trap is a part of a page that focus can enter but cannot leave using a keyboard. For example, a person reaches an embedded player but cannot move back to the surrounding page.
WCAG's No Keyboard Trap requirement is Level A. A modal dialog can keep focus inside while it is open if there is an accessible way to dismiss it. Escape is a common method; the requirement allows other keyboard methods, with instructions when needed. After closing a dialog, focus needs to return to a logical place, usually the control that opened it.
Source
Related terms
Get help with every step.
We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.