Package Exports
- gulp-pa11y
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-pa11y) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-pa11y
Accessibility Audit of your site using pa11y
gulp-pa11y is a gulp.js task to do accessibility audit of your site for standards: Section508, WCAG2A, WCAG2AA (default), WCAG2AAA using pa11y
Check out the documentation to get a full overview of what you can do and test using pally.org.
Getting Started
If you haven't used gulp before, be sure to check out the Getting Started guide, as it explains how to create a gulpfile.js as well as install and use gulp plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install gulp-pa11y --save-dev
Once the plugin has been installed, it may be enabled inside your gulpfile with this line of JavaScript:
var pa11y = require('gulp-pa11y');
The pa11y task
Required configuration properties
To start auditing pages, you must configure a start URL:
Crawl the site with deepth 1.
{
url: 'http://localhost/'
}