Grade your site's accessibility and generate a report from different WCAG levels
npm install grunt-accessibility-ext




Uses AccessSniff and HTML Codesniffer to grade your site's accessibility using different levels of the WCAG guidelines
This fork writes the report, even if errors are detected in input files.
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: npm install grunt-accessibility-ext
Then add this line to your project's grunt.js gruntfile:
``js`
grunt.loadNpmTasks('grunt-accessibility-ext');
[grunt]: http://gruntjs.com/
[getting_started]: http://gruntjs.com/getting-started
Place this in your grunt file.
`js`
accessibility: {
options: {
accessibilityLevel: 'WCAG2A'
},
test: {
options: {
urls: ['http://localhost']
},
src: ['example/test.html']
}
}
You can link to the files you wish to lint using the grunt api. The result will be the results file.
View AccessSniff options for all available 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][grunt].
- Exit phantom process when processing is done
- Update Dependencies
- Update to grunt 0.4.4
- 0.4 Added in ignore rule, refactored some scripts for better injection via phantom
- 0.3 Fix so you can run another grunt process after running
- 0.2 Fix so people can actually run this thing now
- 0.1.1 Update Documentation for install
- 0.1 Initial release