gulp-a11y
A Gulp plugin for a11y to run accessibility audits on html files.
Last updated 4 years ago by mpezzi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-a11y 
SYNC missed versions from official npm registry.

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());
});

Current Tags

  • 0.1.2                                ...           latest (4 years ago)

3 Versions

  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (5)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |