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: about 1 month 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T15:19:35.000Z (7 months ago)
- Last Synced: 2024-10-31T13:11:54.408Z (3 months ago)
- Topics: a11y, accessibility, axe, axe-core, playwright
- Language: JavaScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
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.