Accessibility Test Utilities
Ships automated a11y checks (ARIA grid pattern conformance, focus order, contrast) and scripted keyboard walkthroughs, so both WarGrid and consumer configurations can be verified as accessible.
Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid with the audit panel showing zero issues.
Expected behavior
Each injected issue appears with its rule id and a fix link. The keyboard walk visually steps through focus and logs announcements.
Planned API surface
tester.a11y.audittester.a11y.keyboardWalka11y rule setcontrast check per themeAcceptance criteria
- The audit checks role=grid/row/gridcell/columnheader structure and aria-rowcount/colindex (pending)
- Built-in themes meet WCAG 2.2 AA contrast (pending)
- The keyboard walk covers all documented shortcuts (pending)
- Audits are runnable in CI headless mode (pending)