- 1a592d7: Update
axe-reporter-html
dependency
- 6e21b8b: remove npmRegistryServer
- ca7f25b: Update dependencies
- Fix missing TypeScript types.
- ea84151: Update to ESM-first. CommonJS is still supported.
-
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 to
toBeAccessible
withtoPassAxe
.
- af9d4c8: Allow matcher to accept Axe results object
- 7ad6287: Inject axe even if there is an element with an id of
axe
.
- b1b5d23: Support custom report filenames via toBeAccessible
- aaedb48: Update HTML report output.
- 0e06ed1: Add
engines
to package.json to enforce Node version 14 or greater.
-
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'
- 72e890d: Attach HTML report with full violation details to each failed test.
- 72e890d: Add ability to configure default rule settings in the Playwright config file.
- 5dd7dde: Update docs to reflect migration to changesets.