rule @community/rule-error-message-associated

Error Message Associated

Every form-validation error message MUST be programmatically associated with its field via `aria-describedby`, AND the field MUST set `aria-invalid='true'`.…

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
78/416/832
$ aoe install @community/rule-error-message-associated

Projection

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

ErrorMessageAssociated [rule] v1.0.0

Every form-validation error message MUST be programmatically associated with its field via aria-describedby, AND the field MUST set aria-invalid='true'. Visually-adjacent error text without programmatic association is invisible to screen readers.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-error-message-associated/atom.yaml