Fix · Serious · cited in audits
How to fix: placeholder used as label
Once typing starts, the field has no visible label. Cognitive and screen-reader users lose context.
- WCAG references
- 3.3.2
- Severity
- Serious
What it looks like in the wild
Once typing starts, the field has no visible label.
The screen-reader user, keyboard user, or low-vision user encountering this issue does not get an error message. The page just stops working for them. Which is why this kind of bug rarely shows up in your error tracker; it shows up in support tickets, lawsuits, and abandoned conversions.
Why it fails WCAG
Cognitive and screen-reader users lose context.
Map this back to 3.3.2 when you log the bug. Auditors and procurement teams expect that mapping; "broken" is not enough context.
The wrong pattern (avoid)
<input type="text" placeholder="First name">The right pattern (copy this)
<label for="fn">First name</label>
<input id="fn" type="text" autocomplete="given-name">Notes from real audits
Float-label patterns are acceptable if the visible label remains.
Related fixes
Find every accessibility issue on your site in 60 seconds.
Free public scan. No card. AI-generated fixes for every issue we find.