This book will assist frontend developers in building accessible e-commerce websites and components.
This book is a living, work-in-progress document.
Updated: May 15th, 2021 (merged combobox & autocomplete)
Each pattern follows a progressive enhancement strategy (where applicable), aims to conform to WCAG 2.1 Level AA, and for the most part builds on from the excellent guidance set out in the WCAG Authoring Practices 1.1.
There are four main groups of component-related patterns:
These groups spell out the MIND acronym. If you ever wonder what group does a pattern fall into - then use your MIND!
Three other important groups complement the above patterns:
We have not yet incorporated these three groups into any kind of clever or witty acronym (which is disappointing, I know).
Every completed pattern will include:
There are 4 guiding principles of accessibility, collectively know as POUR:
Perceivable: People experience content in different ways (sight, hearing, and touch). Content needs to be transferable into recognizable (or perceivable) formats.
Operable: Content needs to be navigable (or operable) by multiple methods—not just a mouse
Understandable: Web content needs to be understandable. Language should be simple and concise; functionality should be consistent and intuitive.
Robust: Create web content that works for all (or most!) technologies. This includes operating systems, browsers, and mobile devices.
Accessibility testing is performed with latest versions of:
Edge & Narrator
Chrome & JAWS
Safari & VoiceOver
Firefox & NVDA
Chrome & Chromevox
Don't feel like reading? You can, if you wish, dive straight into the working examples.