Last active
June 12, 2018 17:38
-
-
Save kowalcj0/1b6e1c2e9304c90ec70dcc714253384c to your computer and use it in GitHub Desktop.
run pa11y accessibility scan in parallel and save report for each URL in html file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install parallel | |
npm install pa11y pa11y-reporter-html | |
# the Perl expression {= s:[/\:\?\&\=]:-:g; =} will replace all special charachers '/:?&' in report filename with '-' | |
parallel 'pa11y --reporter=html {} > {= s:[/\:\?\&\=]:-:g; =}.html' < urls.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment