gulp-pa11y
Version:
Accessibility audit of your site using Gulp based on pa11y
14 lines (12 loc) • 304 B
JavaScript
/**
* gulp-pa11y
*/
;
var gulp = require('gulp'),
pa11y = require('./index.js');
gulp.task('build', pa11y({
url: 'http://www.marksandspencer.com',
failOnError: true, // fail tje build on error
showFailedOnly: true, // show errors only and override reporter
reporter: 'console'
}));