Testing Strategy

Accessibility testing decision trees, browser/AT compatibility matrices, manual vs. automated test coverage, regression testing patterns, and acceptance criteria templates for user stories.

Published by @Community-Access·0 agent reads / 30d·0 saves·

Testing Strategy Skill

Decision frameworks for accessibility testing — when to use automated tools vs. manual testing, which screen reader + browser combinations to test, and how to write accessibility acceptance criteria.


Automated vs. Manual Testing Coverage

What Automated Tools Catch (~30-40%)What Requires Manual Testing (~60-70%)
Missing alt text on imagesAlt text quality and accuracy
Missing form labelsLabel clarity and helpfulness
Color contrast ratios (computed)Color contrast in context (gradients, images)
Missing lang attributeCorrect language identification
Duplicate IDsLogical reading order
Missing ARIA roles on custom widgetsCorrect ARIA role for the interaction pattern
Heading hierarchy violationsHeading text meaningfulness
Empty links and buttonsLink/button text descriptiveness
Missing table headersTable caption and header association quality
Syntax errors in ARIAScreen reader announcement correctness

Browser + Screen Reader Compatibility Matrix

Primary Test Combinations (Required)

Screen ReaderBrowserOSPriority
NVDAFirefoxWindowsMust test
NVDAChromeWindowsMust test
JAWSChromeWindowsMust test
VoiceOverSafarimacOSMust test
VoiceOverSafariiOSMust test
TalkBackChromeAndroidShould test

Secondary (Nice to Have)

Screen ReaderBrowserOS
NarratorEdgeWindows
JAWSEdgeWindows

Testing Decision Tree

Is it a new component or page?
├── Yes → Full test coverage (automated + manual)
│   ├── Run axe-core / Lighthouse scan
│   ├── Keyboard-only navigation test
│   ├── Screen reader announcement test (NVDA + VoiceOver minimum)
│   └── Visual check at 200% zoom
└── No → What changed?
    ├── Colors/styling → Contrast check + visual review
    ├── Interactive behavior → Keyboard + screen reader test
    ├── Content/text → Screen reader announcement check
    ├── Layout/order → Reading order + focus order test
    └── Dependencies updated → Regression scan (axe-core)

Regression Testing Patterns

CI Pipeline Accessibility Gates

  1. axe-core scan: Run on every PR. Fail on new critical/serious violations.
  2. Baseline management: Store known issues in .a11y-baseline.json. Only fail on new issues.
  3. Lighthouse score threshold: Set minimum accessibility score (e.g., 90). Fail on regression.
  4. Visual regression: Capture screenshots at 200% zoom. Compare for focus indicator and layout changes.

Preventing Regressions

  • Add accessibility assertions to existing component tests (see testing-accessibility.instructions.md)
  • Include keyboard navigation in E2E test suites
  • Track accessibility score trends over time (not just pass/fail)

Acceptance Criteria Template

For User Stories

Given [context],
When [action by keyboard/mouse/screen reader],
Then [accessible outcome]:

- [ ] Component has an accessible name (via label, aria-label, or aria-labelledby)
- [ ] Component has the correct ARIA role
- [ ] Component is reachable and operable by keyboard (Tab, Enter, Space, Escape, Arrows as appropriate)
- [ ] Focus is visible when the component receives focus
- [ ] State changes are announced to screen readers (aria-expanded, aria-selected, aria-checked, etc.)
- [ ] Error messages are associated with their inputs (aria-describedby or aria-errormessage)
- [ ] Content is readable at 200% zoom without horizontal scrolling
- [ ] Color is not the only means of conveying information

Common Testing Tools

ToolTypeBest For
axe-core / @axe-core/cliAutomatedCI/CD integration, broad violation scan
LighthouseAutomatedPerformance + accessibility combined score
WAVESemi-automatedVisual overlay of accessibility features/issues
Accessibility InsightsSemi-automatedFastPass (automated) + Assessment (guided manual)
pa11yAutomatedCI/CD, HTML CodeSniffer rules
jest-axeUnit testComponent-level axe scans in jest
cypress-axeE2E testPage-level axe scans in Cypress
playwright + @axe-core/playwrightE2E testPage-level axe scans in Playwright

Screen Reader Testing Quick Reference

NVDA (Windows)

KeyAction
Insert + SpaceToggle focus/browse mode
TabMove to next focusable element
HNext heading
DNext landmark
FNext form field
TNext table
Insert + F7Elements list (links, headings, landmarks)

VoiceOver (macOS)

KeyAction
VO (Ctrl+Option) + RightMove to next element
VO + SpaceActivate current element
VO + UOpen rotor (navigate by type)
VO + Cmd + HNext heading

More on the bench

SKILL0

Toss Style Design System Rules

Toss-style UI design rules for disciplined spacing, typography, grayscale hierarchy, restrained color, cards, metrics, dark mode, and accessibility

design+1
0
SKILL0

User Research Synthesizer

Synthesize user research findings from interviews, surveys, and analytics. Create insight reports, customer journey maps, and actionable recommendations based on research data and qualitative findings.

product-management+2
0
SKILL0

Prd Writer

Write comprehensive Product Requirements Documents with user stories, acceptance criteria, technical specifications, wireframe descriptions, and prioritization frameworks (RICE, MoSCoW). Create clear specifications for product teams.

product-management+1
0