← 全部工具

@axe-core/cli

热度 65 更新于 开发与构建

A CLI for accessibility testing using axe-core

npmauto-collected

安装

npm
npm install -g @axe-core/cli

通过 npm 安装。

axe-core-npm

This repository contains 7 packages, which can be used for automated accessibility testing powered by [axe core][axe-core].

The packages are listed below:

  • @axe-core/cli
  • @axe-core/playwright
  • @axe-core/puppeteer
  • @axe-core/react
  • @axe-core/reporter-earl
  • @axe-core/webdriverio
  • @axe-core/webdriverjs

Development

Fetch dependencies and link packages together:

npm install

Run the linter:

npm run lint

Run the code formatter:

npm run fmt

Please refer to respective README for installation, usage, and configuration notes.

Philosophy

We believe that automated testing has an important role to play in achieving digital equality and that in order to do that, it must achieve mainstream adoption by professional web developers. That means that the tests must inspire trust, must be fast, must work everywhere and must be available everywhere.

Manifesto

  • Automated accessibility testing rules must have a zero false positive rate
  • Automated accessibility testing rules must be lightweight and fast
  • Automated accessibility testing rules must work in all modern browsers
  • Automated accessibility testing rules must, themselves, be tested automatically

[axe-core]: https://github.com/dequelabs/axe-core