Senior & Lead Track · Chapter 9 of 15

Accessibility at scale

Individual engineers can build accessible components. Leads have to make an organization reliably ship accessible products: across dozens of teams, through deadlines, and over time. Doing that needs standards, tooling, training, and accountability, not heroics.

Why it matters (and how to frame it)

LensArgument
UsersDisability affects a large share of the population (permanent, temporary, situational); everyone benefits from keyboard support, captions, clear focus, and good contrast
LegalADA lawsuits in the US; the European Accessibility Act applies to many products and services from June 2025; public-sector rules (Section 508, EN 301 549)
BusinessLarger market, better SEO and usability, procurement requirements (VPAT/ACR) for B2B sales
Engineering qualitySemantic, accessible markup is more testable and robust

Use whichever lens moves your stakeholders. With executives, legal risk and market access usually land fastest. With engineers, quality and users.

The standard

  • WCAG 2.2 Level AA is the common target (WCAG 2.2 became a W3C Recommendation in October 2023).
  • New criteria in 2.2 relevant to front ends: Focus Not Obscured (minimum), Dragging Movements (provide single-pointer alternatives), Target Size (minimum 24×24 CSS px), Consistent Help, Redundant Entry, Accessible Authentication (no cognitive tests like puzzles without alternatives).
  • WCAG 3 is in development and not yet a compliance target.

Where to invest: the leverage pyramid

LayerLeverageActions
Design systemHighest: fix once, fix everywhereAccessible primitives (headless libraries), focus styles, contrast-safe tokens, documented keyboard behavior
Design processHighAnnotate designs with headings, landmarks, focus order, labels; contrast checks in Figma
ToolingHighjsx-a11y lint, axe in tests and CI, Storybook a11y addon
Team practicesMediumDefinition of done includes a11y; PR checklist; champions
AuditsNecessary but laggingPeriodic expert audits and user testing with disabled participants

Testing strategy

MethodCatchesLimitsCadence
Lint (eslint-plugin-jsx-a11y)Missing alt, invalid ARIA, click handlers on non-interactive elementsStatic onlyEvery save/PR
Automated runtime (axe-core in RTL/Playwright/Storybook)Contrast, missing labels, ARIA misuse, landmark issuesRoughly a third to half of WCAG issues are automatableEvery PR
Keyboard-only walkthroughFocus order, traps, visible focus, operabilityManualEvery feature before release
Screen reader testingAnnouncements, names/roles/states, live regionsManual; requires skillComplex components each release; key journeys quarterly
Zoom/reflow and text spacing200–400% zoom, 320px reflowManualPer feature
Expert auditFull WCAG conformanceExpensive, periodicAnnually or before major launches
Usability testing with disabled usersReal-world barriersRecruiting effort1–2× per year on key flows

Screen reader matrix to cover most users: NVDA + Chrome/Firefox (Windows), JAWS + Chrome (Windows), VoiceOver + Safari (macOS/iOS), TalkBack + Chrome (Android).

// Playwright + axe: block new serious violations on key routes
import AxeBuilder from '@axe-core/playwright';

test('checkout has no serious a11y violations', async ({ page }) => {
  await page.goto('/checkout');
  const results = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag22aa']).analyze();
  const serious = results.violations.filter((v) => ['serious', 'critical'].includes(v.impact ?? ''));
  expect(serious).toEqual([]);
});

Common high-impact issues

IssueFix
Custom controls built from divsNative elements, or full ARIA pattern + keyboard support
Missing or poor focus management in SPAsMove focus to main heading on route change; return focus after dialogs
Modals without focus trap / EscapeUse <dialog> with showModal() or a proven library
Form errors not announced or linkedaria-describedby, aria-invalid, error summary with focus
Insufficient contrastToken-level fixes; contrast checks in design
Icon-only buttons without namesaria-label or visually hidden text
Dynamic content not announcedLive regions (role="status"), used sparingly
Drag-and-drop only interactionsProvide button/menu alternatives (WCAG 2.2 Dragging Movements)
Motion without controlRespect prefers-reduced-motion

Ownership and process

  • Accessibility is in the definition of done. Stories include acceptance criteria for keyboard and screen reader behavior.
  • Champions network: one trained engineer per team, monthly sync, shared office hours.
  • Bug severity model aligned to user impact (a blocker prevents task completion for a group of users; treat it like a P1).
  • Central expertise: a small a11y team or specialist who supports, trains, and audits, but doesn't fix everything for everyone.
  • Procurement: require accessibility conformance reports from vendors whose components or widgets you embed.

Metrics

MetricWhy
Automated violations per route (trend)Regression signal
Open a11y bugs by severity and ageDebt and responsiveness
% of DS components with documented and tested keyboard/SR behaviorLeverage health
% of key journeys passing manual auditReal-world conformance
Time to fix blocker a11y bugsAccountability
Training coverage (% engineers trained)Capability

Remediation of a legacy product

  1. Audit key journeys (sign-up, login, search, checkout, account) against WCAG 2.2 AA.
  2. Prioritize by user impact × traffic: blockers on high-traffic journeys first.
  3. Fix at the source: if 200 issues trace back to 5 DS components, fix those components.
  4. Prevent regressions: baseline current automated violations and block new ones in CI.
  5. Publish an accessibility statement with known issues and a contact for feedback.
  6. Re-audit and report progress quarterly.

Sample ADR: accessibility as a release gate

  • Context: An external audit found 180 WCAG 2.2 AA issues. 60% traced to six design-system components, and the European Accessibility Act applies to our consumer checkout.
  • Decision: (1) Design-system components must document keyboard and screen reader behavior and pass manual SR testing before release. (2) CI blocks new serious or critical axe violations on key routes, with existing ones baselined. (3) Blocker-severity a11y bugs carry a P1 SLA.
  • Consequences: About 1–2 extra days per complex component; roughly 90 seconds of extra CI time; fewer regressions reaching production; clear accountability.
  • Alternatives considered: periodic audits only (lagging, expensive fixes); an overlay widget (rejected as ineffective).
  • Review trigger: if the baseline hasn't fallen 50% within two quarters, revisit staffing.

Interview framing

"I treat accessibility as a quality attribute with owners and metrics. The biggest lever was our design system. We rebuilt the eight most-used interactive components on React Aria, added documented keyboard behavior, and fixed contrast at the token level. That alone resolved about 60% of audit findings across products. We added jsx-a11y and axe checks to CI, baselined existing violations and blocked new serious ones, and trained a champion in each team. With the European Accessibility Act coming in, we prioritized checkout and account journeys, passed an external audit, and published an accessibility statement."

Lead-level pitfalls to avoid

  • Treating automated scores as conformance. A Lighthouse a11y score of 100 doesn't mean the site is accessible.
  • Overlays and "one-line" a11y widgets. They don't fix underlying issues and are widely criticized by disabled users and experts.
  • Last-minute audits before launch, when fixes are most expensive.
  • Making one specialist responsible for everything.

Spotted a mistake or a rights concern? Report an issue