How to fix form fields without labels

WCAG 1.3.1 and 3.3.2 (Info and Relationships, Labels or Instructions)

What is wrong

A form field with no label is announced as just "edit text" by a screen reader, and a placeholder alone disappears as soon as someone types.

How to fix it

Connect a visible label to each field with a matching for and id, or wrap the field in the label. Keep placeholders as hints, not as the label.

Before and after

<input type="email" placeholder="Email">
<label for="em">Email</label>
<input id="em" type="email">

The free scan takes under 30 seconds with no signup and lists every issue of this kind on your page. If you would rather not fix them yourself, the full report comes with a prioritized fix list.

More fix guides

General guidance from automated-testing rules; it is not legal advice. Automated scan using axe-core. Automated tools can only detect part of what accessibility standards (WCAG) cover, so a clean result isn't a guarantee of accessibility and this report is not legal advice or a compliance certification.