<commit_before># Grunt Accessibility [![Build Status](https://travis-ci.org/yargalot/grunt-accessibility.png?branch=master)](https://travis-ci.org/yargalot/grunt-accessibility)

Grade your sites acccessibility using different levels of the WCAG guidelines

## Getting Started
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-accessibility`

Then add this line to your project's `grunt.js` gruntfile:

```javascript
grunt.loadNpmTasks('grunt-accessibility');
```

[grunt]: http://gruntjs.com/
[getting_started]: http://gruntjs.com/getting-started

## Documentation
Place this in your grunt file.

```javascript
accessibility: {
  options : {
    accessibilityLevel: 'WCAG2A'
  },
  test : {
    files: [{
      expand  : true,
      cwd     : 'example/',
      src     : ['*.html'],
      dest    : 'reports/',
      ext     : '-report.txt'
    }]
  }
}
```

## Options
You can pass some options

### Accessibility Level
```accessibilityLevel``` is a string
Levels are ```WCAG2A```, ```WCAG2AA```, and ```WCAG2AAA```

You can link to the files you wish to lint using the grunt api. The result will be the results file.

This is built of [HTML Codesniffer](http://github.com/squizlabs/HTML_CodeSniffer)
<commit_msg>Release<commit_after># Grunt Accessibility [![Build Status](https://travis-ci.org/yargalot/grunt-accessibility.png?branch=master)](https://travis-ci.org/yargalot/grunt-accessibility)

Grade your sites acccessibility using different levels of the WCAG guidelines

## Getting Started
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-accessibility`

Then add this line to your project's `grunt.js` gruntfile:

```javascript
grunt.loadNpmTasks('grunt-accessibility');
```

[grunt]: http://gruntjs.com/
[getting_started]: http://gruntjs.com/getting-started

## Documentation
Place this in your grunt file.

```javascript
accessibility: {
  options : {
    accessibilityLevel: 'WCAG2A'
  },
  test : {
    files: [{
      expand  : true,
      cwd     : 'example/',
      src     : ['*.html'],
      dest    : 'reports/',
      ext     : '-report.txt'
    }]
  }
}
```

## Options
You can pass some options

### Accessibility Level
```accessibilityLevel``` is a string

Levels are ```WCAG2A```, ```WCAG2AA```, and ```WCAG2AAA```

You can link to the files you wish to lint using the grunt api. The result will be the results file.

This is built of [HTML Codesniffer](http://github.com/squizlabs/HTML_CodeSniffer)

{'fraction_non_alphanumeric': 0.13663133097762073, 'fraction_numerical': 0.0031409501374165686, 'mean_word_length': 3.9571984435797667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6970727', 'n_tokens_mistral': 866, 'n_tokens_neox': 829, 'n_words': 232}