grunt tenon accesibility test plugin
Accessibility testing tool
This plugin is currently in beta. Please file an issues as you come across. Contributors welcome.
This plugin requires Grunt
~0.4.4 and Node no later than 0.10.0*.
*Users with newer versions are experiencing issues with the node-curl plugin that is required to make request against the Tenon API.
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-tenon --save-dev
In your project's Gruntfile, add a section named
tenon to the data object passed into
A list of publicly accessible URLs that can be tested against the tenon API. Items of array, can be
Object. If an object, additional tenon params can be added to object literal.
Registered tenon API key.
An object literal of tenon api parameters.
A list of explicit content paths that are concatenated with the
httpBase to form a publicly accessible URL for the tenon API to crawl.
true to report JSHint errors but not fail the task.
Base host for an internal list of URLs to crawl.
The number in miliseconds of the request timeout to the tenon API.
A custom service endpoint that must return JSON and has a
urls property. This property is an
array of object literals. An individual object literal has a property called,
path, which is the path tto a page. The path can be fully qualified or relative to the
In this example, the default options are used to set the tenon API key and public URL is crawled by the service.
In this example, custom options are used to overwrite the default options.
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.
urlsfrom options to dedicated property and made reverse compatible as options. This matches the usage examples now.
srcparam, URL testing available in future version