How to fix label on WooCommerce

Add a visible or programmatic label to every form input so assistive technologies can identify it for users.

Steps for WooCommerce

  1. Install and activate the free plugin 'WP Accessibility' (by Joe Dolson) — it automatically fixes several common labelling issues including search forms.
  2. For custom or theme form fields, go to Appearance → Theme File Editor (or use a child theme) and open the relevant template: `woocommerce/templates/checkout/form-checkout.php` or `woocommerce/templates/myaccount/form-login.php`.
  3. Add `<label for='input-id'>Descriptive text</label>` before each unlabelled `<input>`, or add `aria-label='...'` directly on the input tag.
  4. If using a page-builder form (Elementor, WPForms, Gravity Forms), open the widget/field settings and fill in the 'Label' field — these plugins output proper `<label>` markup when a label is provided.
  5. Save, clear caches (W3 Total Cache / WP Rocket), and re-test.
Official WooCommerce documentation ↗

What is label?

Every form field on your site — search boxes, email sign-up fields, checkout inputs, contact forms — must have a label that describes what the field is for. A "label" in web terms is either a visible `<label>` element paired with the input, or a special accessibility attribute (like `aria-label`) that provides the same description invisibly. When a form field has no label at all, the browser and assistive technology have nothing to announce to the user about what that field is asking for. WCAG Success Criterion 4.1.2 requires all form controls to have a name that assistive technology can read out loud.

Screen-reader users — including customers with visual impairments — will hear something like "edit text, blank" when they reach an unlabelled field, with no clue what to type. This makes checkout, sign-up, and contact forms completely unusable for those customers, directly costing you sales and leads. From a legal standpoint, unlabelled form fields are one of the most frequently cited accessibility violations in ADA and WCAG-based lawsuits and demand letters targeting e-commerce stores. Google also uses accessible markup signals as a quality indicator, so fixing labelling issues supports your site's overall technical health. Fixing this is typically a quick code change that immediately improves usability for everyone, including mobile users who rely on tap-targets and auto-fill.

See the complete Label guide for every platform and the full background.

Not sure if your WooCommerce store has this?

Run a free SEOLZ scan — we’ll find label and every other issue across your whole site.

Scan my site free

Fix label on another platform