Repository navigation
0.17.0
What's Changed
Full Changelog: 0.16.3...0.17.0
Details
Introduce Playwright helper test fixture for driving screen readers via a single API that detects the default screen reader for the current OS.
import { screenReaderTest as test } from "@guidepup/playwright";
// screenReader is controlling VoiceOver on macOS and NVDA on windows, using a single API.
test("I can navigate the Guidepup documentation site", async ({ page, screenReader }) => {
await page.goto("https://www.guidepup.dev", {
waitUntil: "load",
});
await screenReader.navigateToWebContent();
await screenReader.next();
await screenReader.next();
await screenReader.act();
});Breaking change as relies on a new min version of 0.27.0 for @guidepup/guidepup.