Skill Wiki v0.1.0
counter-example @community/counter-example-aria-bandaid

Aria Bandaid

A modal dialog where the engineer added `role='dialog'`, `aria-label`, and `aria-modal='true'` after the audit complained — but kept the underlying `<div onClick>` for the close button, kept the heading as a `<p>` becaus…

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
4.0
Edges
3 out · 4 in
Tokens
97/881/1665
$ prime install @community/counter-example-aria-bandaid

Projection

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

AriaBandaid [counter-example] v1.0.0

A modal dialog where the engineer added role='dialog', aria-label, and aria-modal='true' after the audit complained — but kept the underlying <div onClick> for the close button, kept the heading as a <p> because the design used a 14px label, and kept the focus loose (no trap). ARIA contradicts the actual structure.

Source

prime-system/examples/frontend-design/primes/compiled/@community/counter-example-aria-bandaid/atom.yaml

Compiled at 2026-05-07