Form elements should have a visible label
Log in (Premium content) Request a demo
input elements may be given a title using the
aria-describedby attributes (but not both). These attributes are used to provide additional information such as a hint.
The Algorithm, in Simple Terms
Ensures that every
<input> that requires a label is has a label other than the
Why this is Important
aria-describedby attributes are used to provide additional information such as a hint. Hints are exposed to accessibility APIs differently than labels and as such, this can cause problems with assistive technologies.
How to Fix the Problem
Provide every form control a label using
aria-labelledby<label> or explicit
- HTML 4
- HTML 5