WCAG 1.4.12 Text Spacing: how to test a Shopify store
Some people read more easily when lines, letters and words are further apart. They set that spacing themselves, with a browser extension, a bookmarklet or their own stylesheet. WCAG 1.4.12 Text Spacing, a Level AA success criterion, makes sure a website keeps working when they do.12 On Shopify stores, the parts most likely to break are small, tightly styled elements such as buttons, badges, menus and product cards.
This is general accessibility guidance, not legal advice.
What WCAG 1.4.12 requires
The success criterion says that no loss of content or functionality may occur when a user sets all of the following, and changes no other style property:2
- Line height (line spacing) to at least 1.5 times the font size.
- Spacing following paragraphs to at least 2 times the font size.
- Letter spacing (tracking) to at least 0.12 times the font size.
- Word spacing to at least 0.16 times the font size.
There is an exception for human languages and scripts that do not use one or more of these properties in written text. They can conform using only the properties that exist for that language and script.2
What it does not require
Two points are often misunderstood. First, your theme does not have to use these values. W3C notes that the requirement is that content and functionality are not lost when a user overrides the authored spacing.1 You can keep your design's own line height and letter spacing.
Second, you do not need to add a spacing control to the store. W3C says the criterion does not require content to implement its own mechanism. Users choose how they apply the change, whether with a user stylesheet, bookmarklet, extension or application.1
The responsibility for readability under the overridden spacing rests with the user. Your job is only to make sure nothing is cut off, hidden or made unusable when they apply it.1
Where Shopify themes usually break
Text spacing problems come from layout code that assumes the text will always take up the same space. When letters and lines get further apart, the same words need more room. If a container cannot grow, the text is clipped or overlaps something else. On a typical store, check these first:
- Buttons with a fixed height, such as Add to cart, Buy it now and newsletter Subscribe buttons, where the label wraps and the second line disappears.
- Announcement bars and sale badges with a set height and
overflow: hidden. - Navigation menus and mega menus where items overlap when they wrap.
- Product cards that cut titles to two lines with a fixed height. With wider spacing, part of the product name can vanish.
- Tabs, accordions and size-chart tables with fixed row or panel heights.
- Text placed over images in slideshows and image banners, where the text box is sized to the image.
- App widgets such as reviews, chat launchers and pop-ups, which bring their own CSS.
A ten-minute test
- Apply the four spacing values to the page. A text spacing bookmarklet or browser extension can do it in one click; so can a short user stylesheet that sets
line-height: 1.5 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important;on all elements andmargin-bottom: 2em !important;on paragraphs. - Look at the home page, a collection page, a product page, the cart and any pop-up or drawer, on both a wide window and a narrow one.
- For each page, look for text that is cut off, text that overlaps other text or controls, and controls that can no longer be used, such as a button whose label is hidden.
- Open the menu, the cart drawer and any accordions while the spacing is applied, because hidden content is easy to miss.
- Note each failure with the page, the element and a screenshot so it can be fixed in the theme.
This needs a human eye. W3C reminds site owners that tools cannot check all accessibility aspects automatically and that human judgement is required.3
How to fix what you find
Most fixes are small CSS changes in the theme:
- Replace fixed
heighton text containers withmin-height, so the box can grow. - Remove
overflow: hiddenfrom containers that hold text, or make sure the container can grow first. - Size padding and spacing in
emorremrather than fixed pixel heights, so it scales with the text. - Let flex and grid items wrap instead of forcing everything onto one line.
- Prefer text set in HTML over text baked into images, so it can respond to the user's spacing at all.
Make the changes in the theme's CSS rather than with a one-off script, so they survive theme updates. See how to fix accessibility without breaking your theme. Text spacing sits close to zoom and reflow, so it is worth testing both together; see zoom and reflow on mobile.
Where Jralo fits
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.4 Clipped text under user spacing is a visual problem that automated checks do not always catch, so keep the short manual test above. 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?
Does my theme have to use 1.5 line height to meet WCAG 1.4.12?
No. W3C notes that content is not required to use these text spacing values. The requirement is that when a user overrides the authored spacing with those values, no content or functionality is lost.
What usually fails text spacing on a Shopify store?
Elements with a fixed height or hidden overflow: buttons, badges, announcement bars, menu items, tabs and product cards where the title is cut to a set number of lines. When the spacing grows, the text is clipped or overlaps nearby content.
Do I need to add a text spacing control to my store?
No. W3C says the success criterion does not require content to provide its own mechanism for adjusting spacing. Users apply their own settings with a user stylesheet, bookmarklet, extension or application.
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. Clipped text under user spacing is a visual problem, so keep the short manual test in this guide as well.
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 16 November 2026.
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
- Does Australia's Disability Discrimination Act apply to websites?
- AODA website requirements checklist for Ontario businesses
- Skip links on a Shopify theme: what WCAG 2.4.1 requires
- 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)