Skip to main content
Raasta
CriticalWCAG 1.3.1 · Level AWCAG 4.1.2 · Level Aselect-name

Dropdown has no label

A <select> without a label is announced only as “combo box”, so people don’t know whether it picks a size, a colour or a country. Connect a visible <label> to it.

Who it hurts

Screen reader users and voice control users.

Product variant pickers and “sort by” menus are the usual cases on shops.

How to fix it

Pick your stack. Review every change before you ship it.

Before

<select name="size">…</select>

After

<label for="size">Size</label>
<select id="size" name="size">…</select>

Check it by hand too

Tab to each dropdown: it should be announced with its purpose, such as “Size, combo box, Medium”.

Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.

WCAG reference