Generating a template
I'm thinking about whether I should ask the user questions about their stack and scope. But since it seems like they might just want a template, I’ll focus on providing a generic one. Let’s generate a helpful starting point for them! I’m curious to see how the user will utilize it and if there are any adjustments they'll need, based on their specific situation. It's about making it as useful as possible!
1) Set WCAG targets (policy + scope)
Conformance target
- Default recommendation: WCAG 2.2 Level AA (or 2.1 AA if you must align to older procurement requirements), plus any local legal standard (e.g., ADA/Section 508, EN 301 549).
- Decide whether you will also meet Level A + AA + selected AAA (common “AAA where feasible” items: enhanced contrast for key flows, clearer help, etc.).
Scope
- Define what’s in-scope: public marketing site, authenticated app, mobile web, PDFs, embedded third‑party widgets, video, emails.
- Identify critical user journeys (e.g., sign-up, checkout, contact support, account management) and the top templates/components used.
Success criteria interpretation
- Publish short internal guidance for “how we interpret” tricky SCs (focus visible, accessible name, errors, status messages, reflow, target size, etc.) so teams implement consistently.
Governance
- Name an Accessibility Owner (program) + Engineering Owner (implementation) + Design Owner (system) + Content Owner.
- Define an exception process (temporary waivers with risk sign-off, mitigation, and target fix date).
2) Automated checks (fast feedback + continuous monitoring)
Automated checks won’t catch everything, but they’re essential for scale and regression control.
A. Shift-left in development
Code-level
- Add an accessibility linter where relevant:
- React:
eslint-plugin-jsx-a11y
- Templates: HTML lint rules for form labels, ARIA misuse, etc.
- Add unit/component tests:
axe-core integrations (Jest + Testing Library) for key components/pages.
- Fail builds on new critical/serious violations.
Design system
- Put accessible components in a shared library and test them once, then reuse.
- Add “accessibility contract” docs per component (keyboard behavior, ARIA, focus management, error patterns).
B. CI checks (pull request gates)
- Run automated scans against:
- Component previews (Storybook + axe)
- Key routes in a test environment (Playwright/Cypress + axe)
- Gate on:
- No new critical/serious issues
- Zero regressions on previously fixed issues
C. Scheduled site/app monitoring
- Weekly/daily automated crawling (staging + production) for:
- Missing form labels
- Color contrast (limited reliability depending on tooling)
- Missing alt attributes
- ARIA attribute misuse
- Heading structure anomalies (partially detectable)
- Output: trend dashboards + issue tickets with URL + DOM selector + screenshot where possible.
Common tooling options
- axe DevTools/axe-core, Lighthouse (baseline), Pa11y, Playwright + axe, Siteimprove/Deque/Level Access platforms (enterprise).
3) Manual audits (what automation misses)
Manual auditing is where you confirm actual usability and WCAG compliance.
A. Audit approach
- Use a representative sample:
- Top templates (home, landing, article, listing, detail, form, checkout, account)
- Top traffic pages
- All critical journeys end-to-end
- Include states: errors, empty states, loading, modals, toasts, menus, authentication, timeouts.
B. Manual test matrix (minimum)
Keyboard-only
- Full operation without mouse
- Logical tab order
- Visible focus and no focus traps
- Skip links / bypass blocks
Screen readers
- At least two, depending on audience:
- Windows: NVDA + Firefox/Chrome (and/or JAWS)
- macOS/iOS: VoiceOver + Safari
- Android: TalkBack + Chrome
- Validate:
- Accessible names/roles/states (buttons, inputs, dialogs)
- Correct announcements for errors and status updates
- Headings/landmarks navigation
- Form instructions and error recovery
Visual + responsive
- Reflow at 320px width, no two-dimensional scrolling where prohibited
- Zoom to 200%/400% and text spacing checks
- Contrast checks for text/icons/focus indicators
- Motion/animation respects reduced motion settings
Content
- Meaningful link text
- Alt text quality (not just presence)
- Captions/transcripts for video; audio descriptions where needed
- Consistent page titles and headings
C. Deliverables
- Findings mapped to WCAG success criteria, with:
- Severity (Critical / High / Medium / Low)
- Steps to reproduce + expected behavior
- Affected URLs/components
- Suggested fix patterns
- A short Executive Summary: overall risk, top themes, and recommended roadmap.
4) Remediation (prioritize, fix systematically, prevent regression)
A. Triage and prioritization
Prioritize by:
- Blocks core journeys (login/checkout/support)
- Affects many pages (template/component issues)
- Legal risk (AA failures)
- Effort vs impact (quick wins first, then structural work)
Create an accessibility backlog with:
- Owner team
- Target release
- Acceptance criteria
- Test steps (including keyboard + SR checks)
B. Fix by patterns, not pages
High-leverage remediation usually comes from:
- Design system components (buttons, inputs, modals, menus, tabs, tooltips)
- Form patterns (labeling, required fields, error summary, inline errors)
- Navigation patterns (skip link, landmarks, active states)
- Content templates (heading order, link text, media)
C. Validation and regression control
- Re-test fixed areas manually (same steps as audit).
- Add/expand automated tests for the specific issue class to stop reintroduction.
- Include accessibility checks in Definition of Done for new work.
D. Documentation (for compliance and procurement)
- Keep:
- Audit reports and remediation logs
- Known issues register + timelines
- Conformance statement (as appropriate)
- VPAT/ACR if you sell to government/enterprise buyers
5) Suggested rollout timeline (example)
Weeks 1–2: Foundation
- Set WCAG target + scope + governance
- Pick tools and add basic CI scanning on top routes
- Identify critical journeys and templates
Weeks 3–6: Baseline + first audit
- Automated crawl baseline + dashboards
- Manual audit of critical journeys/templates
- Triage and create remediation roadmap
Weeks 6–12: Remediation sprints
- Fix high-severity, high-coverage issues (components/templates)
- Add regression tests per fix category
- Re-audit targeted areas and close gaps
Ongoing (monthly/quarterly)
- Scheduled scans + periodic manual audits (especially after major redesigns)
- Train dev/design/content teams
- Track KPIs and publish progress internally
6) Metrics that work
- % of critical journeys passing manual checks
-
of Critical/High issues open over time (burn-down)
- Automated violations per 1,000 pages (trend)
- Mean time to remediate (MTTR) by severity
- Component library coverage (% pages using accessible components)
If you share (1) your platform/stack (CMS, React, etc.), (2) number of pages/templates, and (3) whether this is marketing site vs web app (or both), I can turn this into a concrete rollout plan with a recommended toolchain and sampling strategy.