Newton's Preposterous Miscalculation

npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

grunt-rsids-pa11y

0.3.4 • Public • Published

grunt-rsids-pa11y

Grunt wrapper for pa11y

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-rsids-pa11y --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-rsids-pa11y');

The "rsids_pa11y" task

Overview

In your project's Gruntfile, add a section named rsids_pa11y to the data object passed into grunt.initConfig().

grunt.initConfig({
  rsids_pa11y: {
    options: {
      // Task-specific options go here.
    },
    url: ['array of urls'],
    file: ['array of files, globbing permitted']
  },
});

You can pass a commandline argument --url=### to override your configuration

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

0.3.0 (2016-05-10)

  • Added command line feature

0.2.0 (2016-04-20)

  • Added support for globbing files
  • Added errors for missing url property
  • Implemented debug flag

install

npm i grunt-rsids-pa11y

Downloadsweekly downloads

8

version

0.3.4

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability