Guide
Dropdowns, quantity boxes and swatches with no label: what we find on Shopify product pages
A sighted shopper sees "Size" next to a dropdown and knows what it does. Someone using a screen reader hears only "combo box" or "edit text", with no hint whether it picks a size, sorts the page or sets a quantity. On a product page, that is the last step before buying.
If PageSpeed Insights or Lighthouse told you "Select elements do not have associated label elements" or "Form elements do not have associated labels", this is that problem, and this guide is the fix.
The short version: every dropdown, text box, checkbox and swatch needs a name a screen reader can read. Usually that means a <label> tied to the field, or an aria-label on it. A sentence that sits next to the field on screen is not enough: the code has to connect the two.
How often it came up
Between 24 and 27 November 2026 we scanned small US Shopify stores and checked every finding by hand in the live page before counting it. 104 stores had at least one problem we could confirm. 19 of those 104 (18%) had a dropdown or form field with no label. Some stores had more than one kind:
| Where | Stores | Typical example |
|---|---|---|
| Size, scent or option dropdown on a product page or quick-add card | 6 | A "Full Size / Trial Size" dropdown on every product card |
| "Sort by" or filter dropdown on a collection page | 5 | The sort box above the product grid |
| Colour or wood-type swatches (radio buttons with empty labels) | 4 | 31 colour swatches on one knitwear product |
| Quantity box next to Add to cart | 3 | A plain number box on product and gift card pages |
| Add-on checkboxes ("add this too") from an upsell app | 2 | Checkboxes in an app box under the product |
| Country or currency dropdown in the header | 2 | A currency switcher on every page |
The worst case was colour swatches: a shopper who can't see the colour hears "radio button" thirty-one times in a row.
Check your own store in two minutes
- Open a product page in Chrome or Edge on a computer. Right-click the dropdown or box and choose Inspect.
- Open the Accessibility tab next to Styles (it may be behind the » arrows).
- Look at Name under Computed properties. If it's empty, a screen reader has nothing to say.
How to fix each kind
First duplicate your theme (Online Store → Themes → ⋯ → Duplicate) so you can undo. Then ⋯ → Edit code.
1. Option dropdowns (size, scent, type)
Give the select a label that uses the option's own name, so it stays right for every product:
<label for="Option-{{ section.id }}-{{ forloop.index0 }}">{{ option.name }}</label>
<select id="Option-{{ section.id }}-{{ forloop.index0 }}" …>
If the design shows the name another way, keep it and use aria-label="{{ option.name }}" on the select instead. On quick-add cards use a unique id per product so labels don't point at the wrong field.
2. Sort and filter dropdowns
Search the collection section for sort_by. Add a label with the words "Sort by", hidden on screen if your design doesn't show it: <label for="SortBy" class="visually-hidden">Sort by</label>. Check the id matches the select's.
3. Swatches
Each swatch is a radio button with a label. If the label holds only a coloured square, add the colour as hidden text inside it: <span class="visually-hidden">{{ value }}</span>.
4. Quantity box
Add <label for="Quantity-{{ section.id }}" class="visually-hidden">Quantity</label> next to the input with that id. Many themes have it and a setting or edit removed it.
5. Country and currency switchers
Label the select "Country" or "Currency". Shopify's localization form usually has a translation key for this label, so check Edit default theme content first.
Apps
Upsell and bundle apps (the add-on checkboxes in our data came from one) draw their own fields, and you can't fix their code from your theme. Send the app's support the page and what the Accessibility tab shows.
Why this matters
A shopper who can't tell what a field does has to guess, or leave. The rules are in the Web Content Accessibility Guidelines that US courts and settlements usually point to: WCAG 3.3.2 Labels or Instructions and 4.1.2 Name, Role, Value. This guide is general information, not legal advice.
Check your own store
Our free scan loads your home page, a collection, a product page and the cart on desktop and phone, and emails you a private report that lists each unlabelled field and where it is on the page.
More from our scans: whether an overlay app is enough, icon buttons with no name, why alt text can still show as missing and what we found on 48 small Shopify stores.