Free Quick check

Form labels and buttons on Shopify themes: how to find and fix issues

By AbleAisle. Updated .

Forms and buttons are where shoppers act on a Shopify store: searching, signing up for your newsletter, choosing a size, changing the quantity, adding to cart and contacting you. If a screen reader announces a field as just "edit text" or a button as just "button", the shopper has to guess what it does. This guide covers the most common form and button problems on Shopify themes, how to find them and how to fix them.

What the guidelines say

The Web Content Accessibility Guidelines (WCAG) 2.1 cover forms and buttons in a few places:

Shopify's own accessibility best practices for themes set the same expectations for theme developers: every form field has a label, labels use for attributes, required inputs use the required attribute, fields use autocomplete, and error messages are clear and announced to screen readers.

Where forms and buttons hide on a Shopify store

Check each of these:

  • Header: search field, search button, account icon, cart icon, menu ("hamburger") button.
  • Newsletter sign-up: often in the footer and in a pop-up.
  • Product page: variant pickers (size, colour), quantity field and its plus and minus buttons, "Add to cart", "Buy it now", and any app-added fields such as gift notes or engraving text.
  • Cart and cart drawer: quantity fields, remove buttons, the order note, the discount code field if your theme shows one.
  • Contact page and customer account pages.
  • Close buttons on pop-ups, drawers and the cookie banner.

The most common problems, and the fixes

1. Placeholder text instead of a label

A field that only shows grey text like "Email address" inside the box has no lasting label. The placeholder disappears when the shopper starts typing, is often low contrast, and isn't treated as a label by every screen reader. Shopify's guidance for theme developers says the same: a placeholder isn't a substitute for a label.

Fix: use a real label element connected to the field. A visible label is best. If the design really needs it hidden, a visually hidden label or an aria-label still gives the field a name. The label's for value must match the field's id exactly, for example for="NewsletterEmail" on the label and id="NewsletterEmail" on an input type="email" with autocomplete="email". A common bug is a for that points at the field's name instead.

2. Icon-only buttons with no name

Search magnifiers, cart bags, close "X" icons and quantity plus and minus buttons are often just an icon. Without a text name, a screen reader announces "button" and nothing else.

Fix: give the button a name. Many themes already include a visually hidden text class; otherwise add aria-label="Close" (or "Search", "Cart", "Increase quantity") on the button. Hide the decorative icon itself with aria-hidden="true" so it isn't read twice.

If a "button" is actually a <div> with a click handler, it usually can't be reached with the Tab key or pressed with Enter or Space. Use a real <button> for actions (open a drawer, add to cart) and a link <a href> for going to another page.

4. Variant pickers that don't say what's selected

Colour swatches shown only as coloured circles need a text name for each option ("Navy", not just a colour) and need to show which one is selected in a way that isn't colour alone. Many current themes build swatches as radio buttons with labels, which handles this well. Custom swatch apps sometimes don't. See our guide to accessible product images and swatches.

5. Errors that only turn red

"Please enter a valid email" should appear as text next to the field, not just as a red border. Connect it to the field with aria-describedby so screen readers announce it, and keep the shopper's input so they don't have to start again. See WCAG 1.4.1 Use of Color.

6. Missing autocomplete

Adding autocomplete="email", autocomplete="name" and similar values lets browsers fill in details for the shopper, which helps people with memory, motor or cognitive disabilities and saves everyone time.

How to find these issues on your store

  1. Run an automated check. Missing labels and unnamed buttons are among the issues automated tools detect well. Free browser extensions such as axe DevTools and WAVE, Chrome's Lighthouse audit, or our free Quick check will flag them.
  2. Tab through every form. Use only the keyboard. Can you reach each field and button, and can you see where focus is? Our 5-minute keyboard test walks through it.
  3. Listen to one form with a screen reader. Turn on VoiceOver (Mac and iPhone), Narrator (Windows) or TalkBack (Android) and move through your newsletter sign-up and product form. Every field and button should announce a clear name.
  4. Submit a form with a mistake on purpose and check that the error is described in text.

What you can change without code

Some fixes are settings: many themes let you turn on a visible label for the newsletter block, or change the button text. App-added forms are controlled by the app, so if a review form or pop-up has unlabelled fields, contact the app developer, or switch the app off under App embeds in the theme editor to confirm it's the source. Most label and button-name fixes are small changes in the theme's Liquid files. Make them on a duplicate of your theme, as our theme accessibility guide explains, or ask a developer.

Frequently asked questions

Is checkout covered?

Shopify runs the checkout itself, so your theme changes don't affect it. Focus on the forms in your theme and apps.

Do I need visible labels on every field?

Visible labels are best because they help everyone, including people with memory or cognitive disabilities. Where the design truly can't fit one, such as a search field next to a clearly labelled search button, a hidden label or aria-label still gives the field an accessible name.

Will an automated tool find every form problem?

No. Automated tools only catch part of the issues. They can tell you a field has no label, but not whether the label makes sense or whether an error message is helpful. Test the main forms yourself.

This guide is general information, not legal advice. Following it helps make your store easier to use, but no checklist or tool can promise that a store meets every accessibility requirement or law.

Want us to fix it for you?

$149 paid after delivery

We fix the accessibility issues listed in your ADA demand letter, or the top 10 we find if you don't have one, in a copy of your store's theme. You get a dated before-and-after report, review the changes and publish them yourself. For Shopify, WooCommerce, BigCommerce, Wix and Squarespace stores. Nothing changes on your live store until you publish it, and you pay only after we deliver.

See how the done-for-you fix works Request a fix

Fixing the accessibility issues a letter lists is technical work on your store. It does not resolve any legal claim. This is not legal advice. For a demand letter, talk to a lawyer.

Prefer a report you can act on yourself?

We run the checks, then send you a plain-English fix list as a PDF. No app install needed. See a sample report (PDF).

  • Quick Fix List

    $19

    Goes further than the free Quick check: we scan your home page, one product page and your cart, and we run a keyboard-only test from home page to checkout. You get the top fixable issues ranked by impact, each with a how-to-fix note for your store's platform. Delivered within 24 hours.

    At least 5 fixable issues or a full refund.

    Get the Quick Fix List for $19

    Sample report (PDF)

  • ADA Demand Letter Claim Check

    $49

    Your home page, a collection page, a product page and your cart, with every issue we find and step-by-step fixes, ranked by impact, plus the keyboard-only test written up step by step. Delivered within 24 hours. If you have a letter, we also check each accessibility claim against your live pages. Upgrade from the $19 list within 14 days and we credit the $19.

    At least 5 fixable issues or a full refund.

    Get the Claim Check for $49

    Sample report (PDF)

More about the $49 Claim Check.

Prices are in US dollars. Gumroad shows the total, including any sales tax or VAT that applies where you are, at checkout before you pay. These reports are an automated check of common issues plus a keyboard-only test, not a legal certification or legal advice.

More guides