@acot/acot-preset-axe
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

@acot/acot-preset-axe

An axe rule set for acot.

Installation

Install via npm:

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

Usage

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

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

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

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

Supported Rules

Name Summary ✔️
@acot/axe/best-practice Run the rules specified in the "best-practice" tag of Axe. ✔️
@acot/axe/experimental Run the rules specified in the "experimental" tag of Axe. ✔️
@acot/axe/wcag21a Run the rules specified in the "wcag21a" tag of Axe. ✔️
@acot/axe/wcag21aa Run the rules specified in the "wcag21aa" tag of Axe. ✔️
@acot/axe/wcag2a Run the rules specified in the "wcag2a" tag of Axe. ✔️
@acot/axe/wcag2aa Run the rules specified in the "wcag2aa" tag of Axe. ✔️
@acot/axe/wcag2aaa Run the rules specified in the "wcag2aaa" tag of Axe. ✔️

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.17-canary.20canary
0.0.19471latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.19471
0.0.180
0.0.170
0.0.17-canary.20
0.0.17-canary.10
0.0.17-canary.00
0.0.162
0.0.150
0.0.140
0.0.14-canary.20
0.0.14-canary.10
0.0.14-canary.00
0.0.130
0.0.13-canary.00
0.0.120
0.0.1113
0.0.100
0.0.10-canary.00
0.0.9-canary.01
0.0.80
0.0.70
0.0.7-canary.00
0.0.6-canary.00
0.0.40
0.0.4-canary.20
0.0.4-canary.10
0.0.4-canary.00
0.0.30
0.0.3-canary.40
0.0.3-canary.30
0.0.3-canary.20
0.0.3-canary.11
0.0.3-canary.00
0.0.20
0.0.2-canary.70
0.0.2-canary.60
0.0.2-canary.50
0.0.2-canary.40
0.0.2-canary.30
0.0.2-canary.20

Package Sidebar

Install

npm i @acot/acot-preset-axe

Weekly Downloads

488

Version

0.0.19

License

MIT

Unpacked Size

15.2 kB

Total Files

29

Last publish

Collaborators

  • wadackel