WCAG Batch Processor
This repo uses the wcag-batch.js
script to run pa11y
(a CLI accessibility-testing tool) against a .csv
of URLs.
Instructions
-
First install the required node packages using
npm i
This script usescsv
,pa11y
,fs
, andasync
packages. -
Once everything is finished installing, execute
npm run batch
. This is an alias read from thepackage.json
file. You should adjust the alias inpackage.json
to fit your needs. The alias runs the commandnode wcag-batch.js gwpa/short.csv gwpa/results.csv
In
package.json
:- Substitute
gwpa/short.csv
for your own input file (.csv of URLs to process): - I.e.,
subfolder/list_of_urls.csv
- Substitute
gwpa/results.csv
for your own output filename (.csv of results): - I.e.,
subfolder/results.csv
- Substitute