Skip to content

0.17.0

Choose a tag to compare

@cmorten cmorten released this 22 Jun 21:19
· 29 commits to main since this release

What's Changed

  • feat!: BREAKING: OS agnostic screen reader instance by @cmorten in #40

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.