Skip to main content

Shopify fix guide

Fix Duplicate IDs on Shopify

IDs must be unique in the DOM.

Check your live page

Canonical issue page: Duplicate IDs

What this issue means

Fix

Rename duplicates; generate stable unique ids for lists rendered in loops.

How to fix on Shopify

In Shopify, prioritize theme Liquid and section JSON: product cards, cart drawers, and app embeds. Some issues need a theme developer or app vendor; capture the public report link when you open a ticket.

How to fix

Ensure ids are unique per document; generate stable unique ids in lists.

Fix templates so duplicated components do not reuse hard-coded ids.

Related: 4.1.1 Parsing (historically); best practice for robustness.

Other platforms

TestAccessibility · Programmatic fix page · localhost:3001