Skip to content

Scripts to import URLs and properties into Pa11y-dashboard.

Notifications You must be signed in to change notification settings

goterpsgo/pa11y_importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pa11y_importer

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.

Setup

  • Install mongo.
  • Install pa11y-dashboard.
    • In the config/ directory, use one of the sample files as your config file template. The host will default to localhost and that should suffice for your initial testing needs.
  • 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.

Spidering

  • Update the contents in data/microsites.csv with your URLs of interest.
  • Run node crawler.js - results will be saved in data/microsite-*.csv files.

Importing

  • Update data/pa11y-tasks.csv with entries of interest.
    • NOTE: the data format used by data/microsite-*.csv is incompatible with data/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

About

Scripts to import URLs and properties into Pa11y-dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published