gulp-a11y

0.1.2 • Public • Published

Gulp a11y

Build Status

A Gulp plugin for a11y 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());
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    57
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    57
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i gulp-a11y

Weekly Downloads

57

Version

0.1.2

License

MIT

Last publish

Collaborators

  • mpezzi