-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document a workflow for axe accessibility testing #39
Comments
@axe-core/puppeteer is definitely still an option, but I tried out @wordpress/jest-puppeteer-axe which adds Jest assertions which is a little nicer. await expect(page).toPassAxeTests(); |
FWIW https://github.com/WordPress/gutenberg/blob/trunk/packages/jest-puppeteer-axe/src/index.js |
It would be nice if we could interject accessibility tests at different points in our tests.
Chances are, this would work out of the box (I have not tried it):
https://github.com/dequelabs/axe-core-npm/tree/develop/packages/puppeteer
We should check if it works, add an example using it (also maybe add the workflow to the README), and decide whether it makes sense to pull in that library to Test Mule to make it easier to use.
The text was updated successfully, but these errors were encountered: