How to fix autocomplete valid on WooCommerce
Add valid `autocomplete` attribute values to every form field that collects personal information, using the exact tokens specified by the HTML standard.
Steps for WooCommerce
- WooCommerce's core checkout and account forms include autocomplete attributes by default in recent versions. First update WooCommerce to the latest version to get these improvements.
- If you have a custom or third-party checkout plugin overriding the form fields, locate the plugin's template override in your child theme at `woocommerce/checkout/form-billing.php`, `form-shipping.php`, or `form-login.php`.
- Edit each `<input>` element to add the correct `autocomplete` attribute value.
- Alternatively, use the `woocommerce_form_field_args` PHP filter in your child theme's `functions.php` to programmatically inject `autocomplete` values (see code snippet).
- Clear any caching plugin's cache (e.g. WP Super Cache, W3 Total Cache, LiteSpeed Cache) after making changes.
- Validate with an axe browser extension on the checkout and My Account pages.
What is autocomplete valid?
The HTML `autocomplete` attribute tells browsers (and assistive technologies) what kind of data a form field expects — for example, a person's name, email address, shipping street address, or credit card number. WCAG Success Criterion 1.3.5 ("Identify Input Purpose") requires that any field collecting personal information carry a correct, recognised `autocomplete` value from a defined list. If the value is missing, misspelled, or used on the wrong type of field (e.g. `autocomplete="email"` on a password input), browsers and screen readers cannot reliably identify its purpose, and the autocomplete feature breaks.
For users with cognitive disabilities, motor impairments, or low vision, browser autofill is not a convenience — it is often the only practical way to complete a checkout form. An invalid or missing `autocomplete` value means autofill silently fails, forcing customers to type every field manually and dramatically increasing checkout abandonment. WCAG 1.3.5 is a Level AA requirement, which is the legal conformance target in most accessibility laws worldwide (ADA, EAA, AODA, EN 301 549); non-compliance creates real legal exposure. Fixing it also improves Google's Page Experience signals and can lift organic conversion rates, since a frictionless checkout is one of the clearest levers on revenue.
See the complete Autocomplete valid guide for every platform and the full background.
Not sure if your WooCommerce store has this?
Run a free SEOLZ scan — we’ll find autocomplete valid and every other issue across your whole site.
Scan my site free