Free check
← Back to work

Fixing a customised Shopify theme

What was broken, who it affected, and what we changed.

Example project on a test store. The problems reproduce issues we often find on real Shopify stores; the fixes are the ones we make for clients.

69 → 0

automated errors on three key pages

7

problems fixed

3

found only by testing with a keyboard and a screen reader

Results

Errors found by the automated check (axe-core, WCAG 2.2 AA)
PageBeforeAfter
Home page320
Collection page180
Product page190

Automated tools only catch part of the problem. The three most serious issues below were found by using the store with a keyboard and checking what a screen reader announces.

01Shoppers could not choose a colour

The swatches only responded to a mouse click, and the original drop-down was hidden. Keyboard and screen reader users could not select a colour, so they could not buy any product with colour options.

Before: product page with round colour swatches. After pressing Tab, keyboard focus skips the swatches and lands on the Add to cart button, which shows no clear focus outline. The button text is white on light orange.
Before. Tab skips the swatches.
After: the same product page. The second colour swatch is selected with the arrow key and has a thick black focus ring. The Add to cart button text is now dark on orange.
After. Tab and arrow keys work, focus is visible.

Swatches are now real buttons grouped as a radio group labelled "Color". A screen reader announces Dawn, radio button, checked, and the hidden drop-down stays in sync so variant, price and stock update as before.

02The newsletter popup left keyboard users stuck

Focus stayed on the page behind the popup, the close "×" only worked with a mouse, Escape did nothing, and the subscribe button had no name.

Before: home page dimmed by a newsletter popup. There is no visible focus anywhere; keyboard focus is on links hidden behind the overlay.
Before. Focus is lost behind the overlay.
After: the same popup. The email field inside the popup has keyboard focus and a clear black outline. A close button is in the top corner.
After. Focus moves into the popup.

The popup is now a proper dialog: focus moves in, stays inside, and returns when it closes. "Close" is a real button, Escape works, the email field has a label, and the popup appears once per visit instead of on every page.

03Keyboard focus was invisible

One line of custom CSS removed the focus outline from every element. We replaced it with a clear ring that appears only for keyboard navigation, so mouse users see no change.

04Icon buttons and links had no names

What a screen reader announces
ElementBeforeAfter
Heart iconbuttonAdd The Complete Snowboard to wishlist, toggle button, not pressed
Instagram iconlinkInstagram, link, opens external website in a new window

05Text and buttons were too faint to read

Before: home page top. The promo bar text and the Shop the sale link are pale grey. The banner title Winter Collection is almost invisible, and the Shop now button has white text on pale orange.
Before. Pale text, near-invisible banner title.
After: the same area. The promo bar text is dark grey with an underlined link, the banner title is white on a dark panel, and the Shop now button has dark text.
After. Same brand colours, readable text.
Contrast ratios (WCAG minimum is 4.5:1)
ElementBeforeAfter
Promo bar text1.96:16.71:1
Add to cart button1.82:19.54:1
Product price2.38:17.00:1
Banner "Shop now"1.34:112.96:1

06The banner was invisible to screen readers and keyboards

The banner image had no text alternative, and "Shop now" was decorated text that only reacted to a mouse. It now has a description, and "Shop now" is a real link.

07Prices were marked up incorrectly by the theme

Broken list markup around prices could confuse screen readers. We replaced it with valid markup without changing how prices look.

How we test

These fixes remove the barriers listed above. On their own they do not guarantee full WCAG conformance or legal compliance.

How does your store do?

Send us your store’s address. You get the three biggest problems with screenshots. Free.