Accessibility
The accessibility baseline the theme store expects - structure, keyboard, contrast, motion and forms.
An accessible store sells to more people, and the European Accessibility Act makes it a requirement for many online shops. The theme store reviews every theme against this baseline, close to WCAG 2.1 AA.
Structure
<html lang="{{ shop.locale }}">, one<h1>, headings in order.- Landmarks:
<header>,<nav aria-label="…">,<main id="main">,<footer>. - A "Skip to content" link as the first focusable element.
Keyboard
- Everything that works with a mouse works with the keyboard: menus, drawers, the gallery, the variant picker, quantity fields.
- Visible focus. Never
outline: nonewithout a replacement. - Drawers and dialogs move focus in, keep it inside and return it when closed.
Esccloses them. Prefer<dialog>. - Mega-menus open on click or Enter, not only on hover.
Colour and text
- Text contrast at least 4.5:1, large text and controls 3:1 - with the default settings and the colour presets you ship.
- Prices on sale say so in text, not only in red: visually hidden "Sale price" and "Regular price" labels.
- Text can be zoomed to 200% without content being cut off.
Images and media
alton informative images,alt=""on decorations.- Video does not autoplay with sound; anything that moves for more than five seconds can be paused.
- Respect
prefers-reduced-motionfor parallax, scroll effects and carousels.
Forms
- Every field has a
<label>. Placeholders are not labels. - Errors are announced (
aria-liveor focus moves to them) and say how to fix the problem. - Platform forms - contact, newsletter, checkout - already do this; keep it when you style them.
Dynamic updates
- Announce cart updates - "Added to cart", the new count - in an
aria-live="polite"region. - A variant change that changes the price or availability updates text a screen reader can reach.