Accessibility checks for an online shop, from product page to checkout
A shop's accessibility problems cluster in a few templates and in the steps only a buyer sees. Test those, in that order, and you cover most of what a customer will actually hit.
Why shops are worth checking first
A shop is a sequence of tasks: find a product, choose a size, add it to the basket, pay. If any step cannot be done with a keyboard or a screen reader, the sale does not happen. And since June 2025 the European Accessibility Act applies to most e-commerce serving customers in the EU, so shop owners are asking about it.
Automated checks find part of what can go wrong. They are the fast first pass; a person testing with a keyboard and a screen reader does the rest. The reference lists what no scanner can detect.
Scan templates, not pages
A shop with 5,000 products usually has fewer than ten templates. Scan one URL of each:
- home page;
- a category or collection page, ideally with filters open;
- a product page with variants (size, colour);
- search results;
- the basket;
- account sign-in and registration;
- contact or returns form.
The first four are public, so a batch scan covers them in one call:
npx @skiplink/cli scan \
https://shop.example/ \
https://shop.example/collections/shoes/ \
https://shop.example/products/trail-runner/ \
"https://shop.example/search?q=boots"
A finding on a product page is almost always in the template, so fixing it once fixes it for every product.
What turns up most on shops
The same handful of rules account for most findings on e-commerce templates:
- Icon-only buttons with no name. The basket, search, wishlist and close buttons are often just an SVG. A screen reader announces "button" and nothing else. See accessible names for icon buttons.
- Low-contrast text. Sale prices in red, struck-through old prices, pale grey "in stock" notes and text over product photos. See fixing colour contrast.
- Variant pickers without labels. Size and colour swatches built from
divs, or inputs whose only label is a colour shown visually. See form fields without labels. - Product images without alternatives, or with the file name as alt text. The scan catches the missing ones; a person has to judge whether the rest describe the product. See image alt text.
- Quantity steppers and filters that are clickable but not focusable.
The basket and checkout
The pages that matter most are the ones a URL scanner cannot see: a basket needs an item in it, and a checkout needs a session. Theme platforms also often host checkout on a separate domain you do not control.
Check them inside an end-to-end test that adds a product and walks to the payment step, running axe at each step. The full setup is in Playwright behind a login. For the steps you cannot change, such as a hosted payment page, record what you find and raise it with the provider.
Things to try by hand at checkout, because no scanner judges them:
- Tab through the whole flow. Does focus go somewhere sensible after "Add to basket"?
- Submit the address form with a mistake. Is the error announced, and does it say what to fix?
- Does a timeout or session warning give enough time, and can it be extended?
Keep it from getting worse
Themes and apps change shops weekly. Once the templates are clean, or once you have recorded what is left, put the scan in CI with a baseline so only new violations fail the build, and point a scheduled scan at the live templates so you hear about regressions before customers do. See checks in CI on an existing site and monitoring production.
A passing scan means no automatically detectable violations were found on those pages. It does not make a shop compliant with the European Accessibility Act or any other law; that needs manual review as well. More in what a scan does not tell you.
Related
- Accessibility checks in Playwright tests, including pages behind a login
- Form fields without labels, and why a placeholder is not a label
- Accessible names for icon buttons and links (button-name, link-name)
Try it on your own site: scan a URL for free, or read the docs to add a baseline to your pipeline.