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
0.0
Edges
0 out · 0 in
Tokens
97/903/1741
$ aoe 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

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