Skill Wiki v0.1.0
anti-pattern @community/anti-pattern-click-to-open-only

Click To Open Only

Building drawers, dropdowns, modals, or accordions that respond exclusively to `onClick` mouse events — with no keyboard activation (Enter/Space), no escape-to-close, no focus trap, no ARIA disclosure semantics.…

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
4.0
Edges
5 out · 4 in
Tokens
90/480/870
$ prime install @community/anti-pattern-click-to-open-only

Projection

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

ClickToOpenOnly [anti-pattern] v1.0.0

Building drawers, dropdowns, modals, or accordions that respond exclusively to onClick mouse events — with no keyboard activation (Enter/Space), no escape-to-close, no focus trap, no ARIA disclosure semantics. The component is a <div onClick> that mouse users can operate and nobody else can.

Source

prime-system/examples/frontend-design/primes/compiled/@community/anti-pattern-click-to-open-only/atom.yaml

Compiled at 2026-05-07