liquid-theme-a11y

Installation
Summary

WCAG 2.2 accessibility patterns for Shopify Liquid theme components.

  • Covers 11 e-commerce-specific components: product cards, carousels, modals, forms, filters, tabs, dropdowns, tooltips, cart drawers, prices, and accordions with semantic HTML and ARIA patterns
  • Includes decision table mapping components to correct HTML elements and ARIA roles, plus complete code examples for each pattern
  • Enforces keyboard navigation, screen reader support, focus management with trapping, and reduced-motion preferences across all interactive elements
  • Requires minimum 44x44px touch targets, 3:1 contrast for UI components, skip links, single h1 per page, and live regions for dynamic content updates
SKILL.md

Accessibility for Shopify Liquid Themes

Core Principle

Every interactive component must work with keyboard only, screen readers, and reduced-motion preferences. Start with semantic HTML — add ARIA only when native semantics are insufficient.

Decision Table: Which Pattern?

Component HTML Element ARIA Pattern Reference
Expandable content <details>/<summary> None needed Accordion
Modal/dialog <dialog> aria-modal="true" Modal
Tooltip/popup [popover] attribute role="tooltip" fallback Tooltip
Dropdown menu <nav> + <ul> aria-expanded on triggers Navigation
Tab interface <div> role="tablist/tab/tabpanel" Tabs
Carousel/slider <div> role="region" + aria-roledescription Carousel
Product card <article> aria-labelledby Product card
Form <form> aria-invalid, aria-describedby Forms
Cart drawer <dialog> Focus trap Cart drawer
Related skills
Installs
1.6K
GitHub Stars
107
First Seen
Feb 23, 2026