rule @community/rule-form-label-associated

Form Label Associated

Every form control (`<input>`, `<select>`, `<textarea>`, custom widgets with role='textbox' / 'combobox' / 'listbox') MUST have a programmatically-associated label — via `<label for='id'>`, wrapping `<label>`, `aria-labe…

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
87/432/890
$ aoe install @community/rule-form-label-associated

Projection

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

FormLabelAssociated [rule] v1.0.0

Every form control (<input>, <select>, <textarea>, custom widgets with role='textbox' / 'combobox' / 'listbox') MUST have a programmatically-associated label — via <label for='id'>, wrapping <label>, aria-label, or aria-labelledby. Placeholder text alone is NEVER a label.

Source

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