Accessibility is a hard requirement for new PrestaShop themes, not an optional enhancement. The European Accessibility Act (EAA) makes digital accessibility legally mandatory for e-commerce in EU member states from June 2025. These guidelines are aligned with WCAG 2.2 AA, the standard referenced by the EAA, and apply to all new themes and contributions to the ecosystem.
This page covers the key requirements. Each project has its own specifics. Use this as a baseline and adapt as needed.
Correct HTML semantics are the foundation of accessibility. See Coding standards for the full HTML rules. Accessibility-specific additions:
<h1>–<h6> in order, no skipping levels headings define the document outline for screen reader usersalt on images, captions on video and audioUse ARIA to fill gaps where semantic HTML alone is not sufficient, but prefer native HTML elements first:
aria-label, aria-describedbyaria-expanded, aria-controls, aria-hidden, aria-liverole only when no native element conveys the right meaningAll interactive elements must be reachable and operable without a mouse:
When content updates without a full page reload, AJAX cart updates, filter results, modal opening and focus must be managed explicitly:
Escape to close and return focus to the trigger<label>, or an ARIA equivalent (aria-label, aria-labelledby)aria-required="true" or required)aria-live regions to announce dynamic updates (cart count, filter results, notifications)| Requirement | WCAG 2.2 AA threshold |
|---|---|
| Normal text (below 18px regular or 14px bold) | 4.5:1 minimum contrast ratio |
| Large text (18px+ regular or 14px+ bold) | 3:1 minimum contrast ratio |
Never rely on color alone to convey information, always pair it with text or a universally recognizable visual element (icon, pattern, label).
Additional requirements:
rem/em unitsNo single tool catches everything. Use a combination:
| Tool | Type | What it catches |
|---|---|---|
| Lighthouse | Automated | ~30% of WCAG issues: good first pass |
| axe DevTools | Automated | More comprehensive than Lighthouse |
| Accessibility Insights | Semi-automated | Guided manual checks for full WCAG coverage |
| Keyboard navigation | Manual | Tab order, focus trapping, custom widget behavior |
| Screen reader (VoiceOver, NVDA, JAWS) | Manual | Announcements, live regions, label quality |