Releases: Widen/expect-axe-playwright
Releases · Widen/expect-axe-playwright
v4.1.1
v4.1.0
v4.0.1
Patch Changes
- Fix missing TypeScript types.
v4.0.0
v3.0.0
Major Changes
-
dc66d1c: Rename toBeAccessible to toPassAxe (#24)
-expect(page).toBeAccessible() +expect(page).toPassAxe()
The README explains why it's inaccurate to suggest that automated checks can
tell you if a page is accessible.To update your code to be compatible with this major change, find and replace
all calls totoBeAccessible
withtoPassAxe
.
Minor Changes
- af9d4c8: Allow matcher to accept Axe results object
v2.2.1
v2.2.0
v2.1.0
v2.0.1
v2.0.0
Major Changes
-
72e890d: Remove support for jest-playwright.
-
72e890d: Remove support for resolving iframes from element handles. Please use
FrameLocator
s instead.-expect(page.$('iframe')).toBeAccessible() +expect(page.frameLocator('iframe')).toBeAccessible()
-
72e890d: Remove support for element handles. Please use locators instead.
-expect(page.$('button')).toBeAccessible() +expect(page.locator('button')).toBeAccessible()
-
72e890d: Make
matchers
the default export.-import { matchers } from 'expect-axe-playwright' +import matchers from 'expect-axe-playwright'