Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

gulp-accessibility

Package Overview
Dependencies
4
Maintainers
1
Versions
15
Issues
File Explorer

Advanced tools

gulp-accessibility

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

    3.1.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
807
decreased by-7.67%

Weekly downloads

Readme

Source

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');

Documentation

Place this in your gulp file.

gulp.task('test', function() { return gulp.src('./example/**/*.html') .pipe(access({ force: true })) .on('error', console.log) .pipe(access.report({reportType: 'txt'})) .pipe(rename({ extname: '.txt' })) .pipe(gulp.dest('reports/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(access.report({reportType: 'txt'}))

Options

View AccessSniff options for all available options.

License

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

Keywords

FAQs

Last updated on 20 Feb 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc