How to fix autocomplete valid on Squarespace

Add valid `autocomplete` attribute values to every form field that collects personal information, using the exact tokens specified by the HTML standard.

Steps for Squarespace

  1. Squarespace does not provide direct HTML editing of built-in form blocks or checkout fields.
  2. For built-in Form Blocks (contact, newsletter), Squarespace injects its own markup. You can inject additional attributes via Settings → Advanced → Code Injection (available on Business plan and above) using a JavaScript snippet that sets `autocomplete` on matching inputs after DOM load (see code snippet).
  3. For Squarespace Commerce checkout, Squarespace controls the checkout page HTML — contact Squarespace Support to report missing autocomplete attributes on checkout fields.
  4. For any custom HTML blocks containing `<form>` markup (Insert Block → Code), you have full control — add the correct `autocomplete` attribute directly to each `<input>` in your HTML block.
  5. After injecting JavaScript, publish and verify with the axe browser extension that the violation is resolved.
Official Squarespace documentation ↗

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 Squarespace 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

Fix autocomplete valid on another platform