Skip links on a Shopify theme: what WCAG 2.4.1 requires
On a Shopify store the header, search, cart button and navigation appear on almost every page. A mouse user can ignore that block and click the product. A keyboard or screen reader user has to move through it first, on every page, unless the theme gives them a way around it. WCAG 2.4.1 Bypass Blocks, a Level A requirement, says a mechanism must be available to bypass blocks of content that are repeated on multiple web pages.12
This is general accessibility guidance, not legal advice. The usual mechanism on a Shopify theme is a skip link.
What WCAG 2.4.1 actually requires
The success criterion is short: a mechanism is available to bypass blocks of content that are repeated on multiple web pages.2 The Understanding document explains the intent: people who navigate sequentially should be able to reach the primary content more directly, instead of tabbing through the header and navigation on every page.1
Repeated blocks include navigation links and header content. Small repeated phrases or a single link are not treated as blocks for this rule. The criterion applies to pages that belong together, such as the pages of one store, not to two unrelated sites that happen to share a word.1
A skip link is not the only possible mechanism. Headings and landmarks also help people who use a screen reader to jump. WCAG still promotes that structural markup, under 1.3.1. A skip link remains the method that works for keyboard users who are not using a screen reader's heading list.1
Why this shows up on Shopify themes
Shopify layouts are the files that wrap every template. They are the right place for content that should repeat on many page types, including the header and footer, and the required content_for_layout object that prints the page's main content.4 Because the header lives in the layout, it is repeated on product, collection, cart and content pages. That is exactly the pattern 2.4.1 is aimed at.
Shopify's own accessibility guidance for themes says a skip link should be available, and visible when focused, so people can skip past common content and reach the page content quickly.3
How Dawn does it
Shopify's free Dawn theme puts a skip link at the start of the body, before the header group, and points it at the main element.5
<a class="skip-to-content-link button visually-hidden" href="#MainContent">
{{ 'accessibility.skip_to_text' | t }}
</a>
<main id="MainContent" class="content-for-layout focus-none" role="main" tabindex="-1">
{{ content_for_layout }}
</main>Three details in that pattern are worth copying:
- The link is the first focusable element in the body, so the first Tab press lands on it.
- The class
visually-hiddenkeeps it off-screen until it is focused, which matches Shopify's "visible when focused" guidance.3 - The target is a
mainlandmark with a stable id andtabindex="-1", so when the link is activated the browser can move focus to the main content, not just scroll to it.
The link text comes from Dawn's translation string, so it can be translated with the rest of the theme. A clear English default is "Skip to content" or "Skip to main content".
How to add a skip link to your theme
- Open
layout/theme.liquid(or the layout your templates actually use).4 - Just after the opening
<body>tag, add a link whosehrefis the id of your main content, for examplehref="#MainContent". - Give the main wrapper that id if it does not already have one. A
<main>element, or a container withrole="main", is the right target. Addtabindex="-1"so it can receive focus. - Style the link so it is not visible until it is focused, and so the focused state is easy to see against the header.
- Do not place the link after the header. If a user has to tab through the navigation to reach the skip link, it has failed its job.
If you use a header app or a page-builder section for navigation, the skip link still belongs in the layout, in front of those sections, because the layout is what wraps every page.
A one-minute test
- Open a product page, then a collection page, then the home page. Reload each one and press Tab once. The skip link should appear and be the first focus stop.
- Press Enter. Focus should move to the main content. The next Tab should land on a link or control in the page, not back in the header.
- With a screen reader, confirm the link has a clear name, such as "Skip to content", and that activating it moves the reading position.
If the link is in the source but never appears on focus, the "visually hidden" style may also be hiding it when it is focused. If the page jumps but the next Tab goes back to the header, the target is probably missing tabindex="-1", so focus never actually moved.
Keep checking after theme and app updates
A theme update, a new header app or a change to the layout can drop the skip link or move it below the navigation. Re-run the keyboard test after those changes. For a wider keyboard pass, see how to test your website with only a keyboard, and for the theme as a whole, how to make a Shopify theme accessible.
Jralo for Shopify, our app, checks your homepage and up to five linked pages against the WCAG 2.2 A and AA rules that automated testing can check, and keeps a dated record of every check; ongoing monitoring are on the paid Site plan.6 Automated checks will not always confirm a skip link's focus behaviour, so keep the short test above as well. You can install Jralo from the Shopify App Store; it is free to install. Disclosure: Jralo is our own product, made by Misimi Corp.
What else do people ask?
Is a skip link required by WCAG?
WCAG 2.4.1 requires a mechanism to bypass blocks of content that are repeated on multiple pages. A skip link is the usual way to do that. Headings and landmarks also help, but a visible-on-focus skip link is the method most keyboard users can rely on in a theme layout.
Where should the skip link go in a Shopify theme?
In the layout file, usually layout/theme.liquid, as the first focusable element inside the body, before the header. Point it at the main content region's id. Shopify's Dawn theme puts a skip-to-content link just after the opening body tag, with href="#MainContent".
Can I hide the skip link until someone tabs to it?
Yes. Shopify's theme accessibility guidance says the skip link should be available and visible when focused, so keyboard users can see it, while it can stay visually hidden until then.
How can Jralo help?
Jralo checks Shopify stores and other sites against the WCAG 2.2 A and AA rules that automated testing can check, and keeps a dated record of every check. A skip link still needs a short keyboard test, because automated tools do not always confirm that the link is first in the focus order and that the target receives focus.
Check your site now
Jralo's free check tests your homepage and up to five pages for accessibility (WCAG 2.2 A and AA) and website QA problems, and tells you which countries' accessibility laws are likely relevant to you. No sign-up.
Run the free checkWhere do these facts come from?
Every number and legal statement in this post links to one of these sources, read on 14 November 2026.
- W3C: Understanding WCAG 2.2, Success Criterion 2.4.1 Bypass Blocks
- W3C: Web Content Accessibility Guidelines (WCAG) 2.2, Success Criterion 2.4.1
- Shopify.dev: Accessibility best practices for Shopify themes
- Shopify.dev: Theme architecture — Layouts
- Shopify Dawn theme source: layout/theme.liquid
- Shopify App Store: Jralo listing
More questions
- EN 301 549 explained: the European accessibility standard and WCAG
- Jralo MCP real-time alerts: website monitoring for your agent
- Why are so many website accessibility lawsuits filed in New York?
- Shopify accessibility statement: free feedback wording
- California's Unruh Act and websites: what store owners should know
- PHP2Shell: is your website affected, and what to do
- Black Friday checkout accessibility: a one-week checklist
- Israel's website accessibility regulations explained
- WCAG 1.4.13 Content on Hover or Focus: a Shopify test
- India's RPwD Act 2016 and websites: what businesses need to know
- France: accessibility rules for online shops (EAA and RGAA)
- Germany's BFSG: what it means for online shops
- WCAG 1.4.12 Text Spacing: how to test a Shopify store
- Does Australia's Disability Discrimination Act apply to websites?
- AODA website requirements checklist for Ontario businesses
- Does the UK Equality Act 2010 apply to my website?
- What makes a good page title for product, collection and checkout pages?
- Why do I need to set the page language for screen readers?
- How do I make log-in and CAPTCHA accessible under WCAG 3.3.8?
- How do I make animation and motion on my website accessible?
- How do I make data tables and size charts accessible?
- How do I write accessible form error messages?
- How do I make product search, filters and sorting accessible?
- PDFs on your website: when to use HTML instead, and how to make PDFs accessible
- Does my website still work when visitors zoom in? Resize and reflow explained
- How big do buttons and links need to be under WCAG 2.5.8?
- How do I make a cookie consent banner accessible?
- How do I make pop-ups and modal dialogs accessible?
- How do I write link text that makes sense out of context?
- Why does heading structure matter for screen reader users?
- Visible focus: why removing outlines hurts, and what WCAG 2.2 asks
- Accessible navigation and mega menus
- Accessible product image galleries, sliders and carousels
- How to make a Shopify cart drawer accessible
- Accessible Shopify variant pickers and colour swatches
- The European Accessibility Act: a step-by-step plan for small online sellers
- ADA Title III and websites in plain English
- What to put in an accessibility statement
- How to make a WooCommerce store accessible
- How to fix accessibility issues without breaking your theme
- How to make a Shopify theme accessible: settings, apps and what to check
- Captions, transcripts and audio description for product and marketing video
- What a screen reader user hears on your product page, and how to fix it
- Accessible forms and checkout: labels, errors and autocomplete
- How to test your website with only a keyboard in 10 minutes
- Colour contrast explained: what WCAG asks and how to fix brand colours
- Why automated accessibility testing finds some problems but not all
- How do I write alt text that actually helps?
- What did WCAG 2.2 add to WCAG 2.1?
- How can I prove my website is monitored for accessibility?
- Does the European Accessibility Act apply to my online store?
- Do accessibility widgets make a website ADA compliant?
- Got an ADA website demand letter? What to do first
- How do I check if my website is accessible? A 15-minute method
- Website accessibility laws by country (2026)