Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdehaan/playwright-a11y-axe
Running axe-core a11y linter via Playwright
https://github.com/pdehaan/playwright-a11y-axe
a11y accessibility axe axe-core playwright
Last synced: 6 days ago
JSON representation
Running axe-core a11y linter via Playwright
- Host: GitHub
- URL: https://github.com/pdehaan/playwright-a11y-axe
- Owner: pdehaan
- License: mpl-2.0
- Created: 2020-04-17T06:37:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-12T18:00:15.000Z (12 months ago)
- Last Synced: 2023-11-12T19:22:03.981Z (12 months ago)
- Topics: a11y, accessibility, axe, axe-core, playwright
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# playwright-a11y-axe
Running axe-core a11y linter via Playwright.
## USAGE
```sh
npx pdehaan/playwright-a11y-axe [url1] [url2]
```This script should write out the Axe report (JSON) and a screenshot of the page to the local directory (using the hostname and current date as a filename). You can overwrite the filename by passing a `FILENAME` env var on the command line, but that probably won't be very useful if you're trying to parse more than one URL per request.