# Shopify accessibility fix: before and after

Source: https://vibe-fixer.com/guides/shopify-accessibility-fix-before-after
Last updated: 2026-11-28

**Short answer:** On our own Shopify store, our AI agent fixed all 6 issues our check found within 6 minutes of connecting, and we then confirmed every fix on phone and desktop. The fixes are small edits in 3 theme files, shown below line by line.

## Key takeaways

- Before, 12 Nov 2026, 17:19 UTC: our free check found 6 failing rules on the store's homepage, 8 elements in all.
- The AI agent changed 3 theme files: layout/theme.liquid, sections/promo-banner.liquid and snippets/meta-tags.liquid.
- After, 17:35 UTC the same day: the same check found 0 of the 6 failing rules.
- Every fix was then read back on a desktop view and a phone view.
- Each fix is in the theme's own code, so it does not depend on a script loading on top of the page.

# Case: 6 accessibility issues fixed in a Shopify theme's code

This is our own Shopify test store, set up with six common homepage issues. It exists so we can show the whole run, start to finish, with real dates.

## Before: what the check found (12 Nov 2026, 17:19 UTC)

| # | What the check found | WCAG | Elements |
|---|---|---|---|
| 1 | Items hidden from screen readers could still be reached with the Tab key | 4.1.2 | 1 |
| 2 | Text too faint against its background (contrast 1.74:1, needs 4.5:1) | 1.4.3 | 1 |
| 3 | The page did not say which language it is in | 3.1.1 | 1 |
| 4 | Images with no text description | 1.1.1 | 3 |
| 5 | A link with no text a screen reader can read out (the cart icon) | 2.4.4 | 1 |
| 6 | The page blocked zooming in on phones | 1.4.4 | 1 |

## The fix: what changed in the code

The store was connected at 17:18:56 UTC. The theme check on the AI agent's changes passed at 17:24:11 UTC, 5 minutes 15 seconds later. These are the changes, file by file.

**layout/theme.liquid**: the page now states its language.

```liquid
lang="{{ request.locale.iso_code }}"
```

**sections/promo-banner.liquid**: four fixes.

```liquid
<!-- product images: marked as decorative, because the product name is already in the link -->
<img src="{{ product.featured_image | image_url: width: 400 }}" width="400" height="400" alt="">

<!-- cart icon link: now has a name a screen reader reads out; the icon itself is hidden from it -->
<a class="promo__cart" href="{{ routes.cart_url }}" aria-label="{{ 'accessibility.cart' | t | escape }}"><svg aria-hidden="true" focusable="false" ...>

<!-- a visible link was wrapped in aria-hidden="true"; the wrapper attribute is removed -->
<div class="promo__ghost"><a href="{{ routes.all_products_collection_url }}">Shop the full range</a></div>
```

```css
/* faint note text: #c4c4c4 becomes #595959 on white (7:1) */
.promo__note { color: #595959; }
```

**snippets/meta-tags.liquid**: zoom is allowed again.

```liquid
content="width=device-width,initial-scale=1,viewport-fit=cover"
```

## After: the same check again (12 Nov 2026, 17:35 UTC)

- 0 of the 6 failing rules came back.
- On the desktop view and the phone view, we read each fix back in the live page: the page language is "en", all 3 product images carry an alt attribute, the cart link is named "Cart", the "Shop the full range" link is visible and reachable with the Tab key, the note text has a 7:1 contrast ratio, and zoom is allowed.
- The check also lists items it cannot decide automatically, for a person to look at. The same 2 kinds were listed before and after, on elements the fix did not touch: text over an image or under another element, where a tool cannot measure the background, and a cart button that points to a drawer the tool could not see. In our read-back on both views, the cart drawer the button points to is on the page.

## What this shows for your store

- The common homepage issues are small edits in the theme's code: a language attribute, an alt attribute, a link name, a colour value, one line in the viewport tag.
- A fix in the code stays in the theme. It is part of the page every visitor gets, with no script that has to load first.
- A dated before and after is a record of what changed and when.

To see which of these issues your own store has, run the free [Shopify accessibility checker](https://vibe-fixer.com/tools/shopify-accessibility-checker). For what the issues mean and how stores handle them, see [Is Shopify ADA compliant?](https://vibe-fixer.com/guides/is-shopify-ada-compliant) and [Shopify accessibility apps](https://vibe-fixer.com/guides/shopify-accessibility-apps).

## FAQ

### Was this a real customer's store?

No. It is our own Shopify test store, so we can publish every detail. We never publish a customer's store without their written permission.

### How long did the fix take?

The store was connected at 17:18:56 UTC and the theme check on the AI agent's changes passed at 17:24:11 UTC, 5 minutes 15 seconds later, on 12 Nov 2026.

### Does an automated check find every accessibility issue?

No automated check finds every issue. The check runs the axe rules (axe 4.14.0) on the homepage, and lists the items a tool cannot decide so a person can look at them.

### Will a theme update undo these fixes?

They can. A theme version update installs a new copy of the theme, and edits made in the theme's code are not carried over to it. After an update, or after a switch to another theme, run the check again on the new copy.
