0.0.1 • Published 4 years ago

@acot/acot-plugin-axe v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@acot/acot-plugin-axe

An axe rule set for acot.

Installation

Install via npm:

$ npm install --save-dev @acot/acot-plugin-axe

Usage

Add @acot/axe to the plugins field of the acot config file. then configure the rules you want to use under the rules section.

{
  "plugins": ["@acot/axe"],
  "rules": {
    "@acot/axe/wcag2a": "error"
  }
}

You can also enable all the recommended rules for our plugin. Add plugin:@acot/axe/recommended in extends:

{
  "extends": ["plugin:@acot/axe/recommended"]
}

Supported Rules

NameDescription:heavy_check_mark:
@acot/axe/best-practiceRun the rules specified in the "best-practice" tag of Axe.:heavy_check_mark:
@acot/axe/experimentalRun the rules specified in the "experimental" tag of Axe.:heavy_check_mark:
@acot/axe/wcag21aRun the rules specified in the "wcag21a" tag of Axe.:heavy_check_mark:
@acot/axe/wcag21aaRun the rules specified in the "wcag21aa" tag of Axe.:heavy_check_mark:
@acot/axe/wcag2aRun the rules specified in the "wcag2a" tag of Axe.:heavy_check_mark:
@acot/axe/wcag2aaRun the rules specified in the "wcag2aa" tag of Axe.:heavy_check_mark:
@acot/axe/wcag2aaaRun the rules specified in the "wcag2aaa" tag of Axe.:heavy_check_mark:
0.0.2-canary.2

4 years ago

0.0.2-canary.0

4 years ago

0.0.2-canary.1

4 years ago

0.0.1

4 years ago