Rana Ahson — Web Accessibility Expert, home
Book a Consultation (opens in a new window)

Ecommerce Accessibility

WooCommerce Accessibility Audit: Scope It by Who Wrote the Code

On WooCommerce the theme is one of several authors on your checkout. Scope the audit by the purchase path, and give every finding an owner.

This article

  • Published
  • Reading time7 min
  • Written byRana Ahson
  • Last updated
Animated explainer: why a WooCommerce accessibility audit should be scoped by who wrote the code, how to find which checkout you run, why template overrides do not update, which plugins to test against which WCAG criteria, and what an audit report should contain.
Read the transcript

Most WooCommerce accessibility audits start with the theme. Someone runs a scanner on the home page and a product page, lists the contrast and alt-text failures, and hands the report to whoever built the theme.

That is the wrong place to start, because on WooCommerce the theme is only one of several authors writing markup on the pages that matter. WooCommerce core writes some of it. Template files copied into your theme write some of it. Every plugin on the purchase path writes some of it. Your own content writes the rest.

My position: a WooCommerce audit should be scoped by the purchase path and by who wrote each piece of code, and every finding should say which layer owns the fix. A report that cannot tell you whether a failure belongs to the theme, an override or a plugin hands your developer a list they cannot act on.

Why WooCommerce is different from a hosted platform

On a hosted platform such as Shopify, the checkout is largely the platform’s, and most of the audit effort goes into the theme and the apps around it. I covered that pattern in the Shopify theme audit piece.

A WooCommerce store is assembled. Two stores on the same theme can have different checkouts, different product option controls, different cart drawers and different login forms, because those come from configuration and plugins, not the theme. So the first job of an audit is not testing. It is finding out what you are actually testing.

Step 1: Find out which checkout you run

WooCommerce has two checkouts. The older one is rendered by a shortcode. The newer one is built from the Cart and Checkout blocks.

WooCommerce 8.3, released on 16 November 2023, made the Cart, Checkout and Order Confirmation blocks the default for new installations on block themes. The release notes are explicit that stores updating to 8.3 keep their existing checkout experience. So a store that has been running since before late 2023 may still be on the shortcode checkout, and a store set up since then may be on the blocks, depending on its theme.

The two produce different markup, so they fail in different places. An audit report that does not say which checkout was tested is incomplete. Open the Checkout page in the editor and look: either it holds the checkout shortcode or it holds the Checkout block. Write down which, along with the WooCommerce version.

Step 2: List the template overrides

WooCommerce lets a theme override any of its templates by copying the file into a woocommerce/ folder inside the theme. WooCommerce’s own documentation is clear on the consequence: overrides are upgrade-safe, which means core templates update and your overrides do not.

That matters for accessibility in a specific way. If WooCommerce core improves the markup of a template, a store with an old override of that template keeps serving the old markup. “We updated WooCommerce” does not mean the HTML on the page changed.

WooCommerce shows you the list. Under WooCommerce › Status, the system status report lists the theme’s template overrides and flags any that are out of date against the core version. Put that list in the audit scope. Any failure found on a page rendered by an override belongs to the theme, not to WooCommerce, and the fix goes to whoever maintains the theme.

Step 3: Inventory the plugins on the purchase path

This is where most of the work hides. List every plugin that renders something between landing on a product and seeing the order confirmation. Then test each one against the criteria it is most likely to break. The common ones:

  • Product filters. When a filter updates the product grid without reloading the page, a screen reader user needs to hear that something changed. That is 4.1.3 Status Messages. Check the filter controls themselves for names and states under 4.1.2 Name, Role, Value.
  • Variation swatches. Plugins that replace WooCommerce’s variation dropdown with colour or size buttons often lose the selected state and the option name. That is 4.1.2, and if the only cue for “selected” or “sold out” is colour, 1.4.1 Use of Color.
  • Add-to-cart feedback. W3C’s own Understanding document for 4.1.3 uses a shopping cart as its example: after pressing Add to Cart, a screen reader announces the new item count. If your store adds to cart without a page load and announces nothing, it fails 4.1.3.
  • Side carts and quick-view modals. Focus has to move into them when they open, stay in a sensible order inside them, and return when they close. That is 2.4.3 Focus Order, and a drawer you cannot leave with the keyboard is 2.1.2 No Keyboard Trap.
  • Checkout field editors and address lookups. Plugins that add, rename or reorder checkout fields can drop the label or the autocomplete value. That is 3.3.2 Labels or Instructions and 1.3.5 Identify Input Purpose. If a field already filled is asked for again, check 3.3.7 Redundant Entry.
  • CAPTCHA and anti-spam on login and checkout. A puzzle or a code that must be typed by hand can fail 3.3.8 Accessible Authentication (Minimum). So can a login form that blocks paste.
  • Cookie banners and chat launchers. They sit over the page while someone tabs through checkout. If the focused field is entirely hidden behind them, that is 2.4.11 Focus Not Obscured (Minimum).

The 2.2-specific checks in that list (3.3.7, 3.3.8 and 2.4.11) are set out in more detail in the changes WCAG 2.2 makes to your checkout.

Payment gateways deserve a note of their own. Many render their card fields inside an iframe served by the payment provider. You cannot edit that markup, but it is still part of your checkout, and W3C’s guidance treats a process that hands off to another domain as one process. Test it, record what you found, and send the provider-owned failures to the provider.

What the “accessibility-ready” tag covers

Some WordPress themes carry the accessibility-ready tag in the WordPress.org theme directory. It is worth having. A theme earns it by passing a review against a published list of requirements: a skip link, landmarks, keyboard navigation, labelled form fields, sufficient contrast, underlined links in text and others.

It is a review of the theme. It does not review your plugins, your template overrides, your product content or the checkout your configuration produces. A store on an accessibility-ready theme can still fail at the variation swatch, the side cart and the login form, because none of those were in the review.

The same applies to WordPress’s own accessibility coding standard, which expects code integrated into the WordPress ecosystem to conform to WCAG 2.2 at level AA. That is an expectation set for code. It is not a statement about your store.

Test the states, not just the pages

A scan of the home page sees one state of one page. The barriers on a WooCommerce store tend to appear in states a crawler never reaches:

  • the product page after a variation is chosen, and after an out-of-stock one is chosen;
  • the cart with items in it, and after a quantity change;
  • the checkout with validation errors showing (3.3.1 Error Identification, 3.3.3 Error Suggestion);
  • the account login, logged out, with a password manager filling the form;
  • the order confirmation.

Walk that path with a keyboard and with a screen reader. Automated tools are useful for catching repeatable defects across many pages. They do not complete a purchase.

What a useful WooCommerce audit report contains

If you are commissioning an audit, or reading one you already have, check that it includes:

  • The scope as built: WooCommerce version, which checkout (shortcode or blocks), theme and version, the list of template overrides, and every plugin on the purchase path with its version.
  • The states tested, not just the URLs.
  • Each finding mapped to a WCAG 2.2 success criterion by number.
  • An owner for each finding: WooCommerce core, theme, template override, plugin (named), payment provider, or content.

That last column is the one most reports leave out, and it is the one that turns a findings list into a plan. A theme fix goes to your developer. A plugin fix goes to the vendor, or the plugin gets replaced. A content fix goes to whoever writes product pages. Without the owner, everything lands on one person and half of it is outside their control.

The record matters beyond the fixes. If a demand letter arrives, a dated record of what was tested, what was found and what was fixed is the documentation you will want. I am not an attorney, and nothing here is legal advice; on any specific claim, consult counsel.

Where to start this week

Before you pay anyone for an audit, spend an hour on scope. Open WooCommerce › Status and copy the template override list. Check which checkout your Checkout page holds. List the plugins that render on product, cart, checkout and login. That hour makes any audit you buy afterwards cheaper and more useful, because the auditor tests your store instead of a guess at it.

This is the work we do at EcomBack (opens in a new window): manual WooCommerce audits against WCAG 2.2 AA, scoped to the store as it is actually built, with every finding mapped to a success criterion and assigned to the layer that owns the fix. It does not remove legal risk — nothing does — but it gives you a documented, defensible position and a checkout more people can finish.

Want help scoping your WooCommerce audit? Book a call with EcomBack (opens in a new window) and we will walk through your purchase path with you.

More from the blog

Next step

Want this applied to your own site?

An audit tells you which of these actually affect your customers, mapped to the success criteria that matter.

Book a Consultation (opens in a new window) Send a message