This is a series of files to ease the import of multiple URLs and parameters/conditions into Pa11y Dashboard.
Scripts and files in this repo are based on content from here.
- Install mongo.
- Install pa11y-dashboard.
- In the
config/
directory, use one of the sample files as your config file template. The host will default tolocalhost
and that should suffice for your initial testing needs.
- In the
- run
npm install
to download all needed dependencies - Use the config settings in pa11y-dashboard as the basis for the values in your new config file.
- Update the contents in
data/microsites.csv
with your URLs of interest. - Run
node crawler.js
- results will be saved indata/microsite-*.csv
files.
- Update
data/pa11y-tasks.csv
with entries of interest.- NOTE: the data format used by
data/microsite-*.csv
is incompatible withdata/pa11y-tasks.csv
- importing rows is currently a manual process. - Columns used in import file:
- name: Human-readable name for each test
- url: location for each page to test
- standard: document validation standard, examples default to
Section508
- username, password: used for HTTP basic authentication
- NOTE: the data format used by