Black Friday: is your store ready?Free check + 7 days of Pro free →

Form field labels: make your checkout accessible

Last updated:

A form field without a label leaves screen-reader users guessing: they hear "edit text" and nothing else. On an online store that means the checkout, the address form, the newsletter box and the search field, the places where a sale is made or lost. The fix is simple: give every input, select and textarea a name that assistive technology can read, ideally a visible <label>.

How common it is

WebAIM's 2026 analysis of the top one million home pages found missing form input labels on 51% of them, up from 48.2% a year earlier, making it the third most common detectable error after low-contrast text and missing alt text. Home pages had 6.9 form inputs on average, and about a third of those inputs were not properly labelled. That is only the home page: checkout and account pages usually have many more fields.

Accessibility is also a legal topic for many stores, for example under the European Accessibility Act, which applies to many online shops selling to EU consumers. Labelled form fields are one of the basic WCAG requirements those rules build on. See the European Accessibility Act for online stores.

What an unlabelled field looks like

<!-- No label: a screen reader announces only "edit text" -->
<input type="text" name="zip" placeholder="Postcode">

<!-- Visible text, but not tied to the field -->
<span>Email</span>
<input type="email" name="email">

Both look fine to a sighted shopper. Neither tells assistive technology what the field is for.

How to label a field

1. A visible <label> linked by for and id, the best option for checkout and account forms:

<label for="postcode">Postcode</label>
<input id="postcode" name="postcode" type="text" autocomplete="postal-code">

Clicking the label also focuses the field, which gives a bigger target on mobile.

2. aria-label, when there is no room for visible text, such as a header search box:

<input type="search" name="q" aria-label="Search products">

3. aria-labelledby, to reuse text already on the page as the name, for example a heading above a quantity field.

Where to look in a store

  • Checkout and address forms: name, street, postcode, city, phone, email. Labels must stay visible once fields are filled in, so shoppers can check what they typed.
  • Newsletter sign-up: often a single email field with a placeholder and no label.
  • Search box: a common candidate for aria-label.
  • Quantity selectors and variant pickers: a select for size or colour needs a name too.
  • Coupon code fields, hidden behind a link on many checkouts.
  • Third-party widgets: chat, reviews and payment fields injected by apps. Check them after every theme or app update.

Group related fields, such as a billing address, with <fieldset> and <legend>, and keep error messages next to the field they relate to.

How Averifly helps

Averifly's Form field missing a label check flags inputs, selects and textareas with no <label>, aria-label or aria-labelledby. It sits alongside the other accessibility checks, such as empty links and icon buttons, in your score. Run a free scan to see which fields on your store need a label, or browse all the checks on the rules page.

Frequently asked questions

Is a placeholder enough as a label?

No. A placeholder disappears as soon as the shopper starts typing, is often low-contrast and is not reliably announced as the field's name. Keep a visible label, and use the placeholder only for an example of the expected format.

When should I use aria-label instead of a visible label?

Only when a visible label really doesn't fit, such as a search box with a magnifying-glass button. In checkout forms, use a visible <label> for every field: it helps everyone, not only screen-reader users.

Do labels help with autofill?

Labels name the field for people. Browsers rely mostly on the autocomplete attribute to fill addresses and cards, so add both: a clear label and the right autocomplete value, such as autocomplete="postal-code".

More Accessibility guides