constraint @community/constraint-focus-trap-modal

Focus Trap Modal

Every modal dialog must implement a focus trap: keyboard focus must be sent into the modal on open, cycle within the modal on Tab / Shift+Tab, and return to the triggering element on close.

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
63/417/578
$ aoe install @community/constraint-focus-trap-modal

Projection

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

FocusTrapModal [constraint] v1.0.0

Every modal dialog must implement a focus trap: keyboard focus must be sent into the modal on open, cycle within the modal on Tab / Shift+Tab, and return to the triggering element on close.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/constraint-focus-trap-modal/atom.yaml