Skip to content
Sentinela

WooCommerce Block Checkout Accessibility: A WCAG 2.2 Test Guide for 2026

Published · 10 min read

WooCommerce checkout accessibility depends on three layers: WooCommerce's Checkout block, your theme, and every plugin that adds something to the checkout page. WooCommerce has done serious accessibility work on the blocks, but its claims cover a default setup, so the only way to know whether your checkout works is to test it. This guide covers what the blocks are, what WooCommerce says about them, how themes and plugins break them, a manual test mapped to WCAG 2.2, and small child-theme fixes.

What the Cart and Checkout blocks are

The Cart and Checkout blocks are WooCommerce's block-based replacement for the older [woocommerce_cart] and [woocommerce_checkout] shortcodes. They are built in React and talk to WooCommerce through the Store API, rather than rendering PHP templates.

WooCommerce 8.3, released in November 2023, made the Cart and Checkout blocks the default for new installations. WooCommerce's documentation says they are also the default when you create the pages with the tool under WooCommerce > Status > Tools (WooCommerce docs). The 8.3 release post describes the full default experience (Cart block, Checkout block and a block-based order confirmation) for new installations using block themes (WooCommerce developer blog). Existing stores were not switched over automatically.

Classic vs block checkout: what actually differs

  • How they are built. The classic checkout is a shortcode that renders PHP templates, which a theme can override. The Checkout block is a React front end; you customize it through the block editor and its extensibility APIs rather than template overrides.
  • How plugins hook in. Many classic PHP hooks, such as the woocommerce_checkout_fields filter, do not change the Checkout block. For custom fields in the block, WooCommerce provides the Additional Checkout Fields API (WooCommerce developer docs).
  • Compatibility. If an installed extension is not compatible with the blocks, WooCommerce shows a notice and lets you switch back to the classic shortcode (WooCommerce docs).

Both versions are still supported. What matters is the version on your site, with your theme and plugins.

What WooCommerce says about accessibility

WooCommerce's accessibility documentation lists a logical tab order through cart and checkout, visible focus indicators, errors placed near the relevant field and linked to it with ARIA attributes, and ARIA live regions that announce success and error messages. It also warns that theme styles can override what WooCommerce sets, so the theme has to be checked separately (WooCommerce docs).

In July 2025, WooCommerce reported more than 140 accessibility enhancements across core, made with Equalize Digital, Fueled and 10up, including keyboard and focus work and color contrast in checkout (WooCommerce developer blog). The WooCommerce 10.0 announcement says that, used with a core WordPress theme or an accessibility-ready theme, WooCommerce 10.0 is fully conformant with WCAG 2.2 Level AA (WooCommerce developer blog).

Read that claim carefully. It is WooCommerce's own statement (a vendor source), it is conditional on the theme, and WooCommerce's conformance report covers the front end tested with a default theme, not add-on plugins or extensions (WooCommerce conformance report). Updates can also regress: WooCommerce 9.1.1 reverted a change that "inadvertently interfered with the accessibility of the Checkout block" (WooCommerce developer blog). A good baseline is a reason to test, not a reason to skip testing. For the rest of the store beyond checkout, use our WooCommerce WCAG 2.2 checklist.

How themes and plugins commonly break checkout

Common patterns:

  • Theme CSS. outline: none on inputs and buttons, low-contrast field borders or labels, and sticky headers that cover the focused field as you tab back up the form.
  • Payment gateways. Card fields usually sit in a provider's iframe. You can't edit that code, but you can test it: labeled fields, announced errors, and no keyboard trap in a 3-D Secure challenge.
  • Address autocomplete. Suggestion lists that can't be reached with arrow keys or aren't announced to screen readers.
  • CAPTCHA. Puzzle or image challenges on the login, registration or checkout form, sometimes with no keyboard or audio alternative.
  • Upsell and exit popups. Dialogs that open without moving focus into them, can't be closed with Escape, or leave focus behind the overlay.
  • Cookie banners. At 320 px, a banner can cover the Place order button, or sit at the end of the tab order.
  • Custom fields added by plugins. A VAT number or delivery note field with a placeholder but no label.

We cover the wider list in ten common issues on Shopify and WooCommerce.

Before you test: use a staging copy

Run this test, and any fixes, on a staging copy with the same theme, plugins and settings as production. Enable your gateway's test mode so you can place test orders. Never try fixes on the live checkout.

Step-by-step manual test

Start on a product page, so you test the journey and not just the form.

1. Keyboard only

Put the mouse away. Use Tab, Shift+Tab, Enter, Space and the arrow keys.

  1. Add a product to the cart, open the cart (or mini cart drawer) and go to checkout. Every control must work from the keyboard (2.1.1) and you must never get stuck (2.1.2).
  2. Tab through the whole checkout. The order should follow the visual layout: contact, address, shipping method, payment, Place order (2.4.3).
  3. Watch the focus indicator on every field, radio button, link and button. It must always be visible (2.4.7) and never completely hidden by a sticky header, cookie banner or chat widget (2.4.11). Tab backwards too; that's when sticky headers cover fields.
  4. Apply a coupon, change the shipping method and pick a payment method. Focus should not jump to the top after each update.
  5. Open and close anything that pops up (upsell, address suggestions, 3-D Secure test challenge). Focus should move into it and return sensibly.

2. Screen readers: NVDA and VoiceOver

Test with NVDA on Windows (Firefox or Chrome) and VoiceOver with Safari on iOS.

  1. Move through the form field by field. Each field should announce a clear label, its type and whether it is required (1.3.1, 3.3.2). Radio groups such as shipping and payment methods should announce the group name.
  2. Apply a valid coupon, then an invalid one. The result ("Coupon applied", "Coupon not valid") should be announced without moving focus (4.1.3). Do the same when the shipping cost or total changes.
  3. Submit the form with required fields empty and one field invalid (for example a malformed email). Errors must be identified in text (3.3.1), announced or reachable, and say how to fix the problem where possible (3.3.3).

3. 200% zoom and 320 px

  1. Zoom the browser to 200%. All text and controls must remain usable (1.4.4).
  2. Set the window to 320 CSS px wide (or use a phone). Content should reflow into one column with no horizontal scrolling (1.4.10). Check that the order summary, coupon field and Place order button are reachable and not covered by a banner or sticky bar (2.4.11).

4. Contrast and target size

  1. Check text and labels, including floating labels and placeholder-style hints, against 4.5:1 (1.4.3).
  2. Check field borders, checkbox and radio outlines, and your focus indicator against 3:1 (1.4.11).
  3. Small controls such as quantity buttons, "Remove item" links and coupon toggles need a target of at least 24 by 24 CSS px, or enough spacing around them (2.5.8).

5. Redundant entry and authentication

  1. Shipping and billing addresses: the customer should not have to type the same address twice in one checkout. The Checkout block offers a "Use same address for billing" option; make sure your setup or a plugin hasn't removed it (3.3.7).
  2. If checkout offers login or account creation, the login step must not depend on a cognitive test, such as solving a puzzle or retyping characters, unless an alternative is offered. Allow password managers and pasting (3.3.8).

Full criterion texts are in WCAG 2.2.

Common fixes for a child theme

Put CSS in your child theme's style.css and PHP in its functions.php, so theme updates don't overwrite your changes. Apply each fix on staging and retest with the keyboard and a screen reader.

Visible focus that a sticky header can't hide

/* Leave room for the sticky header when a focused field scrolls into view (2.4.11).
   Use your header's height plus a little extra. */
html {
  scroll-padding-top: 7rem;
}

/* A clear focus indicator in cart and checkout (2.4.7).
   Pick a colour with at least 3:1 contrast against the background (1.4.11). */
.wp-block-woocommerce-cart :focus-visible,
.wp-block-woocommerce-checkout :focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

scroll-padding support has had gaps in Safari, so test there. If the header still covers fields, make it non-sticky on checkout only (replace .site-header with your theme's header selector):

body.woocommerce-checkout .site-header {
  position: static;
}

An accessible error summary

The Checkout block renders its own error notices, so test them before changing anything. For custom forms or classic checkout template overrides, a good error summary looks like this: a heading, a list of links to the fields, and focus moved to it after a failed submit.

<div id="error-summary" tabindex="-1">
  <h2>There are 2 problems with your details</h2>
  <ul>
    <li><a href="#billing-email">Enter an email address, like name@example.com</a></li>
    <li><a href="#billing-postcode">Enter a postcode</a></li>
  </ul>
</div>

<label for="billing-email">Email address</label>
<input id="billing-email" name="billing_email" type="email" autocomplete="email"
       aria-invalid="true" aria-describedby="billing-email-error">
<p id="billing-email-error">Enter an email address, like name@example.com</p>
// After rendering the summary on a failed submit:
document.getElementById('error-summary').focus();

Announce coupon, shipping and total updates

WordPress ships wp.a11y.speak(), which writes to a shared live region. Load a small script on checkout only:

add_action( 'wp_enqueue_scripts', function () {
	if ( ! is_checkout() ) {
		return;
	}
	wp_enqueue_script(
		'child-checkout-a11y',
		get_stylesheet_directory_uri() . '/js/checkout-a11y.js',
		array( 'jquery', 'wp-a11y' ),
		'1.0',
		true
	);
} );

For the classic checkout, which fires updated_checkout after each order review refresh:

( function ( $ ) {
	let firstLoad = true;
	$( document.body ).on( 'updated_checkout', function () {
		if ( firstLoad ) { firstLoad = false; return; } // skip the initial load
		const total = document.querySelector( '.order-total .amount' );
		if ( total ) {
			wp.a11y.speak( 'Order updated. Total: ' + total.textContent.trim(), 'polite' );
		}
	} );
} )( jQuery );

For the Checkout block, test first: if WooCommerce already announces an update, adding your own creates double announcements. A plugin that changes the order itself (gift wrap, upsell, delivery slot) should call wp.a11y.speak() from its own update code.

Labels for fields added by plugins

On the classic checkout, give a plugin's unlabeled field a visible label. Use a late priority so the plugin's field already exists (billing_vat_number is an example key; check yours):

add_filter( 'woocommerce_checkout_fields', function ( $fields ) {
	if ( isset( $fields['billing']['billing_vat_number'] ) ) {
		$fields['billing']['billing_vat_number']['label'] = __( 'VAT number', 'my-child-theme' );
	}
	return $fields;
}, 99 );

That filter does not affect the Checkout block. There, fields should be registered with the Additional Checkout Fields API, where label is required:

add_action( 'woocommerce_init', function () {
	if ( ! function_exists( 'woocommerce_register_additional_checkout_field' ) ) {
		return;
	}
	woocommerce_register_additional_checkout_field( array(
		'id'       => 'my-shop/delivery-note',
		'label'    => __( 'Delivery note', 'my-shop' ),
		'location' => 'order',
		'type'     => 'text',
		'required' => false,
	) );
} );

If a plugin adds block checkout fields some other way and they lack labels, report it to the plugin author; patching a vendor's React output from a theme is fragile.

Where Sentinela fits

Sentinela's automated scans include a purchase-flow check: SentinelaBot adds a product to the cart and tests the flow with a keyboard, then stops at checkout without entering shipping or payment details (how SentinelaBot works). Our audits include a manual keyboard journey to the start of checkout, alongside screen reader, zoom, reflow, forms and authentication checks. The full form test above is one to run on staging, yourself or with your developer.

When we fix WooCommerce stores, we work on a staging copy in a child theme, and nothing is published before you approve it (remediation). Fixes go into your theme's code, not an overlay on top of it (why overlays don't fix your theme).

A note on the ADA and WooCommerce stores

Many store owners ask whether their WooCommerce store meets the ADA. The US Department of Justice says businesses open to the public must make their online goods and services accessible, but that it has no regulation setting detailed technical web standards for businesses; it points to WCAG as helpful guidance (ADA.gov). In the EU, the European Accessibility Act applies to many online stores; see does the EAA apply to your online store?. Testing against WCAG 2.2 AA is a practical baseline in both cases and on other platforms too, as our Shopware 6 WCAG 2.2 checklist shows.

This article is general information, not legal advice. For your obligations, talk to a lawyer.

Check your checkout before your customers do

Start with what automated checks can find, then run the manual test above on staging. Get a free scan, or book an audit if you want a reviewer to record a verdict for every WCAG 2.2 A and AA criterion.

Sources