Using the axe Linter Plugin with JetBrains IDEs

Link to Using the axe Linter Plugin with JetBrains IDEs copied to clipboard

Information on using the plugin with IntelliJ IDEA Ultimate and WebStorm

Free Trial

The axe DevTools Linter plugin for JetBrains IDEs (only IntelliJ IDEA Ultimate and WebStorm on Linux, macOS, and Windows are currently supported) allows you to check your code for accessibility problems in the IDE. You can check React (JSX), React Native, Angular, Vue, HTML, and Markdown for common accessibility defects.

important

The Community Edition of IntelliJ IDEA is not supported because it does not support LSP (Language Server Protocol). Only IntelliJ IDEA Ultimate Edition or WebStorm supports LSP. LSP also requires version 2023.2 or later of IntelliJ IDEA Ultimate or WebStorm.

Overview of Its Use

The plugin highlights accessibility errors in the IDE with a red wavy line and provides a tooltip indicating the error. The tooltip includes a link to Deque University for more information about the specified accessibility error. The accessibility errors also appear in the Problems tool window in the IDE, as shown below in WebStorm:

Shows how the plugin indicates accessibility errors in WebStorm. The errors are missing button text and an incorrect definition list.

Similarly, for IntelliJ, the following screenshot shows two accessibility errors (a misspelled value for the lang attribute and an empty heading element):

There are two accessibility errors shown in this screenshot of IntelliJ. The first error is a misspelled value for the lang attribute, and the second is an empty heading.

For more information on the accessibility checks the plugin performs, see Accessibility Rules.

Get Started

You can download the plugin from Deque's Agora repository using your Agora account.

important

You must have a Deque Agora account in order to download the plugin. For help, contact your Deque representative directly, reach us via our support desk, or send us an email.

JetBrains plugin.

The plugin is distributed as .jar file whose filename is in the format axe-devtools-linter-version.jar (where version is the version of the plugin).

You can install the plugin in your IDE by following the steps at Install plugin from disk.

Configuration

Configuring the plugin isn't necessary, but you might want to change its behavior by creating axe-linter.yml configuration files. For more information, see:

Accessibility Rule Support

For more information about the rules that the plugin uses to locate accessibility errors, see Accessibility Rules.

Next Steps

This documentation site contains information about using the various axe DevTools Linter offerings. For more information, see About axe DevTools Linter.