Java API Documentation

Link to Java API Documentation copied to clipboard

This section contains API references for:

Each of the following provides an overview of the respective integration's APIs.

Configuring axe-core Version

By default, your axe-core version is the same version as your axe DevTools package. Optionally, you can import and use an older axe-core version. In order to do this, you will need your axe-core version of choice downloaded in your development environment.

In addition, axe DevTools expects your ruleset to be located at src/test/resources/config/axe-ruleset.json. Alternatively, you can specify the location via the environment variable AXE_RULESET_PATH, or through configuration.

This example provides axe DevTools with a different version of axe-core through configuration options:

AxeConfiguration.configure()
    .forAuditSuite(getClass().getResource("/config/axe-ruleset.json"))
    .withAxeScript(getClass().getResource("/axe.min.js"));