Language: EN

Form fields without labels

Message shown by axe and Lighthouse: Form elements must have labels · label · WCAG 4.1.2

What it means and why it matters

Without a label, screen-reader users don't know what to type into a field — checkout and newsletter forms become guesswork (WCAG 1.3.1, 4.1.2).

How to fix it

Connect a visible <label for="…"> to every input. Placeholders are not a replacement for labels.

Code example

Before

<p>Email for our newsletter</p>
<input type="email" name="newsletter">

After

<label for="nl-email">Email for our newsletter</label>
<input type="email" id="nl-email" name="newsletter" autocomplete="email">

In our study

Share of online shop home pages on which axe-core automatically detected at least one failure of this rule. The number of shops is in brackets.

Form fields without labels

CountryShops checkedWith this failure
Poland847 (8%)
Czechia8619 (22%)
Slovakia9414 (15%)
Croatia9210 (11%)
Total, wave 135650 (14%)
Germany1238 (7%)
Austria9712 (12%)
Total, wave 222020 (9%)
Netherlands10011 (11%)
Spain9412 (13%)
France10114 (14%)
Italy1019 (9%)
Total, wave 339646 (12%)

Method, limits and all results: Online shop study.

Find this error on your website

Run a free check of any page — results in seconds, with fix instructions.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.