Open-Source Design System Adds Accessibility Test Harness to Storybook Workflows
Design · 3 min read
The new harness integrates axe-core, screen-reader simulation, motion-mode snapshots, and keyboard navigation scripts into Storybook's CI pipeline. For each component story, the harness runs a matrix of accessibility checks and produces a compact report that highlights failing states and suggested fixes, including code diffs for token or markup changes.
Importantly, the harness supports 'assistive-mode snapshots'—visual and DOM snapshots that render components under conditions like high-contrast themes, large-text scaling, and reduced-motion settings. This exposes layout breakage and overlapping controls that traditional tests miss and surfaces them during PR review rather than after release.
The project maintainers designed the tool to be lightweight and extensible: teams can add custom checks (for example, gamepad focus order or voice command affordances) and map the harness output to existing issue trackers. Several organizations that rely on the design system reported the harness reduced accessibility-related bug tickets by over 30% in early pilots.
Developers and accessibility engineers recommend pairing the harness with scheduled user tests; automated tools catch many regressions but can't replace the nuance of real user feedback. The community is planning follow-up features, such as recording assisted-navigation sessions for replayable test cases and richer integration with A11yGPT suggestion engines.