What is Guidepup?
Guidepup is a screen reader automation library for testing.
It lets you control screen readers such as VoiceOver and NVDA from automated tests, navigate web pages with screen reader commands, interact with content, and assert what a screen reader user experiences.
That makes screen reader behaviour testable as part of your automated test suite.
Accessibility testing beyond the DOM
Traditional accessibility automation primarily evaluates the underlying page structure.
For example, tools can detect that a button has no accessible name:
<button class="cart-icon"></button>
Or that a page contains invalid ARIA.
These checks are valuable, but they don't tell you what happens when someone actually uses the interface with a screen reader.
A screen reader user experiences something more like:
- Open page
- Navigate to the shopping cart
- Hear "Shopping cart, button"
- Activate the button
- Navigate to the cart contents
- Hear "Your cart is empty"
Guidepup lets you automate these interactions and assertions.
Test the experience, not just the markup
Guidepup operates at a different layer from static accessibility analysis:
- DOM / ARIA
- Accessibility tree
- Operating System accessibility APIs
- Screen reader
- User
Traditional accessibility tools can inspect the DOM and accessibility tree. Guidepup goes further by interacting with the page through a screen reader and testing the resulting experience.
This means you can test not only whether an interface is technically accessible, but whether a screen reader user can actually navigate and interact with it.
Instead of only asking:
"Does this element have the right attributes?"
You can test:
"Can a screen reader user navigate to this element, understand it, and interact with it?"