Cluster 16 · E-Commerce · Drawers · Swatches · Alt

Shopify ADA Title III & EU EAA Accessibility Fixes (Cart Drawer, Swatches & Alt Text)

Fix the top WCAG 2.2 AA violations on Shopify Dawn and custom themes: cart drawer focus traps, unlabeled variant swatches, carousel pause buttons, and product image alt attributes.

100% Browser-Side · Zero User-Data Upload · Strict CSP

1. Paste Page or Component HTML to Audit

12 WCAG 2.2 AA Checks
Informational Notice: Deterministic DOM/HTML accessibility & EAA Directive 2019/882 engineering linter — pair automated checks with live keyboard Tab & screen-reader testing. Not legal advice.
WCAG 2.2 AA & EAA Static Readiness Score
76 / 100 (B)
WARN

9/12 checks passing · Moderate Risk — Remediate Warnings Before EAA/VPAT Audit

WCAG-3.1.1 (SC 3.1.1 (Level A)): Valid document language declared (lang="en") PASS
Primary page language is explicitly declared for screen readers and braille translators.
WCAG-2.4.2 (SC 2.4.2 (Level A)): Descriptive <title> present ("Checkout — Acme Store") PASS
Document title announces page context immediately in browser tabs and screen readers.
WCAG-1.4.4 (SC 1.4.4 (Level AA)): Viewport zoom unrestricted (200%+ text scaling supported) PASS
No user-scalable=no or maximum-scale=1 lock detected.
WCAG-1.1.1 (SC 1.1.1 (Level A)): No <img> elements missing alt attributes PASS
Images include explicit alternative text attributes.
WCAG-4.1.2 (SC 4.1.2 (Level A)): All <button> and <a> elements expose accessible names PASS
No unlabelled icon-only controls detected.
WCAG-1.3.1-FORM (SC 1.3.1 / 3.3.2 (Level A)): 1 form input(s) rely on placeholder or lack <label> -12 PTS
Placeholders disappear on focus. Bind every <input>, <select>, and <textarea> to a visible <label for="..."> or aria-label.
WCAG-2.4.1 (SC 2.4.1 (Level A)): Missing skip-to-content link -8 PTS
Add <a href="#main-content" class="skip-link">Skip to main content</a> before navigation and wrap primary content in <main id="main-content">.
WCAG-1.3.1-HEADING (SC 1.3.1 / 2.4.6 (Level AA)): Sequential heading hierarchy verified (h1) PASS
Screen-reader heading navigation outline is well-ordered.
WCAG-2.1.1 (SC 2.1.1 (Level A)): Zero non-semantic clickable <div>/<span> handlers detected PASS
Interactive actions use keyboard-reachable elements.
WCAG-2.4.4 (SC 2.4.4 (Level A)): 1 generic link label(s) ("Click here" / "Read more") -4 PTS
Replace vague link text with descriptive destination wording (e.g., "Read API rate-limit documentation") or add aria-label.
WCAG-1.2.2 (SC 1.2.2 (Level A)): No uncaptioned <video> elements detected PASS
Media captioning baseline clean.
WCAG-2.4.11 (SC 2.4.3 / 2.4.11 (Level AA)): Focus order & visible focus outline checks clean PASS
No positive tabindex overrides or bare outline: none suppression found.
Accessible HTML5 Shell (wcag-2-2-aa-patch.html)
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Checkout — Acme Store</title>
  <link rel="stylesheet" href="/wcag-2-2-focus-targets.css" />
</head>
<body>
  <a href="#main-content" class="skip-link">Skip to main content</a>
  <header>
    <nav aria-label="Primary navigation">
      <a href="/"><img src="/logo.svg" alt="Brand home" /></a>
      <button type="button" aria-label="Open navigation menu"><svg aria-hidden="true"></svg></button>
    </nav>
  </header>
  <main id="main-content">
    <h1>Primary Page Heading</h1>
    <section aria-labelledby="section-form">
      <h2 id="section-form">Accessible Form Control</h2>
      <form action="/signup" method="post">
        <label for="work-email">Work email</label>
        <input id="work-email" name="email" type="email" autocomplete="email" required />
        <button type="submit">Continue to Workspace</button>
      </form>
    </section>
  </main>
</body>
</html>
AccessCheck · WCAG 2.2 AA $39 AA Fix Pack

Verify Live WCAG 2.2 AA, Contrast, Landmarks & EU EAA Readiness

Run a full live URL accessibility & EAA readiness audit on AccessCheck (access.runglab.dev), or grab the turnkey $39 AccessCheck AA Fix Pack on Creem (tailored DOM/ARIA patches, focus & target-size CSS, EAA Annex V Accessibility Statement, VPAT 2.5 summary & CI Playwright/axe gate). Need a PayPal invoice? Email [email protected].

WCAG 2.2 AA & EU EAA Technical Control Specification

Control / Criterion Compliant Baseline Engineering & Accessibility Rationale
Cart Drawer role="dialog" + aria-modal="true" + Focus Return Trap Tab inside open cart drawer and return focus to Cart button on Escape
Color Swatches <fieldset> + Visually-Hidden Text / aria-label Each swatch radio/button must expose color name (e.g. "Navy Blue") instead of empty span
Product Images alt="{{ image.alt | escape }}" Never omit alt; use alt="" for purely decorative thumbnails when text covers link
Minimum Target min-width: 24px; min-height: 24px; Satisfies WCAG 2.2 SC 2.5.8 for swatch dots, quantity +/- buttons & close icons

Accessible Shopify Liquid Image & Icon Button Fix

shopify-theme-fixes.liquid
{%- comment -%} 1. Informative Product Image with fallback alt {%- endcomment -%}
<img
  src="{{ product.featured_image | image_url: width: 800 }}"
  alt="{{ product.featured_image.alt | default: product.title | escape }}"
  width="800"
  height="800"
/>

{%- comment -%} 2. Accessible Icon-Only Cart Drawer Close Button {%- endcomment -%}
<button type="button" class="drawer__close" aria-label="{{ 'accessibility.close' | t }}">
  <svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18"/></svg>
</button>

Accessible Variant Swatch Radio Markup

shopify-swatches.html
<fieldset class="swatch-group">
  <legend>Select color</legend>
  <input id="color-navy" type="radio" name="Color" value="Navy" class="sr-only" checked />
  <label for="color-navy" class="swatch-btn">Navy Blue</label>
  <input id="color-olive" type="radio" name="Color" value="Olive" class="sr-only" />
  <label for="color-olive" class="swatch-btn">Olive Green</label>
</fieldset>

Implementation Steps & Key Insights

  1. Audit every Liquid icon button (search, menu hamburger, cart close, wishlist heart) and add localized aria-label attributes.
  2. Ensure product card links wrap either the title or combined image+title without duplicate consecutive tab stops.
  3. Enforce >= 24x24px clickable areas on variant swatches and quantity steppers (WCAG 2.2 SC 2.5.8).
  4. Publish an EAA Annex V Accessibility Statement page at /pages/accessibility and link it from footer.liquid.
  • E-commerce storefronts are the #1 target of both US ADA Title III demand letters and EU EAA market surveillance audits.
  • Default empty alt attributes on UGC reviews and collection banners account for over 40% of automated Shopify failures.

Common WCAG & EAA Audit Pitfalls

  • Using <span> or <div onclick> for color swatch circles with zero text alternative.
  • Relying on third-party accessibility toolbar apps instead of fixing Liquid templates.
  • Rendering auto-playing hero slideshows without a keyboard-accessible Pause control (SC 2.2.2).
Verify Live: Audit your live domain on access.runglab.dev or grab the $39 AccessCheck AA Fix Pack. Informational engineering guidance only — not legal advice.

More WCAG 2.2 AA, EU EAA & VPAT Implementation Guides

← Back to WCAG 2.2 AA & EU EAA Hub · AccessCheck Live Audit → · $39 AA Fix Pack → · Cluster 15: GDPR & Consent Mode v2 → · Cluster 12: EU AI Act Art. 50 →

Frequently Asked Questions

Does Shopify Checkout automatically handle accessibility?

Shopify's hosted Checkout Extensibility covers core checkout controls, but your storefront theme (home, collection, PDP, search, cart drawer, footer) remains 100% your responsibility under ADA and EAA.

Do accessibility overlay apps make a Shopify store ADA/EAA compliant?

No. Automated and manual audits inspect underlying DOM markup; overlays do not resolve missing form labels, broken cart drawers, or unlabelled swatches.

How large must Shopify swatch buttons be under WCAG 2.2?

WCAG 2.2 SC 2.5.8 requires at least 24x24 CSS pixels (or sufficient 24px spacing clearance), and 44x44px is recommended for touch comfort.