Skill Wiki v0.1.0
rule @community/rule-no-keyboard-trap

No Keyboard Trap

Users must always be able to move keyboard focus out of any component using standard keys (Tab, Shift+Tab, or Escape); trapping focus in a non-modal context makes the interface completely unusable for keyboard-only and a…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 12 in
Tokens
86/509/1013
$ prime install @community/rule-no-keyboard-trap

Projection

Always in _index.xml · the agent never has to ask for this.

NoKeyboardTrap [rule] v1.0.0

Users must always be able to move keyboard focus out of any component using standard keys (Tab, Shift+Tab, or Escape); trapping focus in a non-modal context makes the interface completely unusable for keyboard-only and assistive technology users (WCAG SC 2.1.2 No Keyboard Trap, Level A).

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-no-keyboard-trap/atom.yaml

Compiled at 2026-05-07