Gulp a11y

Build Status

A Gulp(link is external) plugin for a11y(link is external) to run accessibility audits on html files.

Installation

npm install gulp-a11y

Usage

var a11y = require('gulp-a11y');

gulp.task('audit', function () {
  return gulp.src('./**/*.html')
    .pipe(a11y())
    .pipe(a11y.reporter());
});

Options

You can pass any options directly to a11y, example:

var a11y = require('gulp-a11y');

gulp.task('audit', function () {
  return gulp.src('./**/*.html')
    .pipe(a11y({
      viewportSize: '800x600',
      delay: 1
    }))
    .pipe(a11y.reporter());
});

Rating

0 out of 5 Stars 0 Review

5 Stars
 
0.00%
4 Stars
 
0.00%
3 Stars
 
0.00%
2 Stars
 
0.00%
1 Star
 
0.00%

About

  • There are no comments yet

Thank you! Review submitted.

Ok