Reference build
Harbor & Pine: a synthetic storefront accessibility lab
A small ecommerce storefront built twice — once with common accessibility defects and once fixed — mapped to WCAG 2.2 AA, with a sample audit report.
Problem. Most accessibility demos are a single broken page. Real ecommerce risk lives in the interaction between navigation, filters, product cards, dialogs, cart updates, and forms.
Synthetic lab. Harbor & Pine is a fictional storefront. It sells nothing, collects nothing, and contains no client data. The demo pages are
noindex.
What this is
A small outdoor storefront built twice:
- Broken version — common defects that a scanner will partly catch and a screen reader will expose.
- Fixed version — the same content with semantic controls, focus management, announcements, and labelled forms.
The point is not the visual design. It is the interaction layer: what happens when someone uses a keyboard, a screen reader, or 400% zoom.
What the broken version demonstrates
| Defect | WCAG 2.2 AA | What the user experiences |
|---|---|---|
Navigation items are div elements |
4.1.2, 2.1.1 | Not reachable or operable with a keyboard |
| Cart button has no name or role | 4.1.2, 2.4.4 | Screen reader announces nothing useful |
| Promotion rotates automatically | 2.2.2 | Content changes before it can be read; no pause |
| Filter chips are clickable spans | 2.1.1, 4.1.2 | Keyboard users cannot filter |
| Filter results update silently | 4.1.3 | No announcement that the list changed |
| Product images have empty alt text | 1.1.1 | The product is missing from the accessible name |
| Sale is indicated by price colour only | 1.4.1 | Colour-blind users miss the discount |
Add to cart is a div |
2.1.1, 4.1.2 | No keyboard activation, no button semantics |
| Quick view modal does not manage focus | 2.4.3, 2.1.2 | Focus stays behind the dialog; Escape does nothing |
| Cart updates are not announced | 4.1.3 | Screen reader users do not know the item was added |
| Newsletter input uses a placeholder only | 3.3.2, 1.3.1 | The field has no persistent label |
| Error message is not associated with the field | 3.3.1, 3.3.3 | The error is not announced or explained |
| Controls are smaller than 24×24 px | 2.5.8 | Hard to target on touch and with motor impairments |
| Low-contrast body text | 1.4.3 | Hard to read in bright light or with low vision |
What the fixed version changes
- A skip link and semantic landmarks.
- Native
button,a,dialog,label, andformelements. - Visible focus styles on every interactive control.
- Native dialogs, which move focus in, close on Escape, and restore focus.
aria-pressedfilters and arole="status"result count.- Cart updates announced through a polite live region.
- Text sale badges instead of colour-only pricing.
- A persistent label, linked error message, and focus return on the newsletter form.
- No auto-rotating promotion.
- Target sizes at or above 24×24 px, and larger on primary actions.
What this does not prove
This is a teaching and sales artifact, not a conformance certificate for any real store.
- It does not cover every WCAG criterion.
- It does not test every browser, device, or assistive-technology combination.
- It does not include a platform-rendered checkout, which is where many real stores hit limits.
- It is synthetic, so it cannot demonstrate findings in a client’s codebase.
What it does show is the evidence standard: a reproduction, a criterion, a user impact, an owner, and a retest path.
Use it
Open the broken version with a keyboard first. Then try the fixed version. The difference is not a toolbar; it is the underlying components.
The sample audit report shows how the same defects would be recorded for a client, including severity and platform ownership.
Outcome. A two-version synthetic storefront, a defect-to-WCAG map, and a sample report that shows how findings are recorded and prioritized.