Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gulp-accessibility with all npm packages installed. Try it out:

var gulpAccessibility = require("gulp-accessibility")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-accessibility v3.1.1

Grade your sites accessibility and generate a report from different WCAG levels

Gulp Accessibility

Build Status Build status

Uses AccessSniff and HTML Codesniffer to grade your sites accessibility using different levels of the WCAG guidelines

Gulp Accessibility example

Getting Started

Install this gulp plugin next to your project's gulpfile with: npm install gulp-accessibility --save-dev

Then add this line to your project's gulpfile.js gulpfile:

var access = require('gulp-accessibility');


Place this in your gulp file.

gulp.task('test', function() {
  return gulp.src('./example/**/*.html')
      force: true
    .on('error', console.log)
    .pipe({reportType: 'txt'}))
      extname: '.txt'

Report Generation

You can link to the files you wish to lint using the gulp api

You'll need to add the below to convert into other formats

.pipe({reportType: 'txt'}))


View AccessSniff options for all available options.


Copyright (c) 2015 Steven Miller Licensed under the MIT license.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free