Accessibility fix guide
WCAG 4.1.2 Name, Role, Value
How to fix: Select menus must have an accessible name
A dropdown needs an associated label, otherwise its purpose is never announced and users cannot tell what they are choosing.
The fix
Give every <select> an associated label or accessible name.
Before and after
Fails
<select name="country">…</select>
Passes
<label for="country">Country</label>
<select id="country" name="country">…</select>
Related fixes
Does your site have this issue?
Scan any page free against WCAG 2.2 AA and get every issue with its fix.
Scan your site free