How to fix: dropdowns without labels
WCAG 2.2 success criterion 4.1.2 (level A)
Why it matters
Users do not know what they are choosing.
How to fix
Connect a <label> to every <select>.
<label for="size">Size</label>
<select id="size">…</select>
Test it yourself
- Click the label text: the dropdown should get focus.
- Check size, colour and sorting dropdowns in shops.
Common mistakes
- Using the first option ("Choose size") as the only label.
- A heading above the dropdown that is not connected to it.
Check your own site
Find this and other problems on your website in 30 seconds, free.