axe-core Version

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

The axe-core version setting specifies which version of the axe-core accessibility testing engine to use during analysis. axe-core is the underlying engine that performs the actual accessibility checks, and different versions may include new rules, bug fixes, or improvements to existing rules.

Default Value

When you don't specify an axe-core version override, Axe Watcher will try to use the version configured in your organization's global configuration but can only use the versions that are included with the Watcher package.

important

To make sure Watcher is able to use the same version of axe-core as the global configuration, keep your Watcher package up to date.

Overriding

You can override the axe-core version when your organization's global configuration permits it. Your administrator determines which versions are available for use. This override is useful when you need to test with a specific version for consistency, or when you want to use the latest features available in a newer release.

Available Options

String values:

  • latest - Uses the latest supported version currently bundled with Axe Watcher
  • Specific version numbers from 4.4.0 and later (e.g., 4.10.2, 4.9.1, 4.8.0)

JavaScript/TypeScript Example

const config = {
  axe: {
    apiKey: process.env.AXE_API_KEY,
    projectId: process.env.AXE_PROJECT_ID,
    configurationOverrides: {
      axeCoreVersion: '4.10.2'
    }
  }
};

Java Example

ConfigurationOverrides overrides = new ConfigurationOverrides()
    .setAxeCoreVersion("4.10.2");

AxeWatcherOptions options = new AxeWatcherOptions()
    .setApiKey(System.getenv("AXE_API_KEY"))
    .setProjectId(System.getenv("AXE_PROJECT_ID"))
    .setConfigurationOverrides(overrides);