This repository contains 3 NuGet packages, which can be used for automated accessibility testing powered by axe core.
The packages are listed below:
- To build all projects, run
dotnet buildfrom the root of the repo - To build one project, run
dotnet buildfrom that project's folder (eg,packages/commons/src)
- To run all tests, run
dotnet testfrom the root of the repo - To run one test project, run
dotnet testfrom that test project's folder (eg,packages/commons/test) - To run one individual test case, run
dotnet test --filter "Name=TestCaseMethodName"dotnet test --list-testswill list the available test cases
- To have integration tests use headed browsers instead of headless ones, run
dotnet test -e HEADED=1
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.
- 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
- The
Deque.AxeCore.PlaywrightNuGet package and its source code under thepackages/playwright/directory are distributed under the terms of the MIT License. - The
Deque.AxeCore.SeleniumNuGet package and its source code under thepackages/selenium/directory are distributed under the terms of the MIT License. - The
Deque.AxeCore.CommonsNuGet package, its source code underpackages/commons/directory, its embedded copy ofaxe-core, and all other source code in this repository outside of thepackages/directory are distributed under the terms of the Mozilla Public License, version 2.0.
Note that the (MIT licensed) Deque.AxeCore.Playwright and Deque.AxeCore.Selenium NuGet packages each have a dependency on the (MPL licensed) Deque.AxeCore.Commons NuGet package.
Deque.AxeCore.Playwrightis a fork of IsaacWalker/PlaywrightAxeDotnet. We thank @IsaacWalker for his work and for agreeing to re-home the library as an officially supported integration package.Deque.AxeCore.Seleniumis a fork of TroyWalshProf/SeleniumAxeDotnet, which in turn is a fork of javnov/axe-selenium-csharp. We thank @TroyWalshProf, @javnov, and all the other contributors to those projects for their work. We especially thank @TroyWalshProf for agreeing to re-home the library as an officially supported integration package.