Assistant for writing inclusive code. Based on dequelabs/axe-core.
Features:
html
, htm
, hbs
, handlebars
and vue
Configuration File:
At the root directory of your project you can place a file called axe-linter.yml
.
With the rules
property you can enable or disable rules and with the tags
property you can enable only rules with the specific tags. All other rules will be disabled, even when they are enabled through the rules
property.
List of all available rules including their tags
Example:
rules:
html-has-lang: false # disables the rule
tags: # excludes all rules that don't have one of these tags
- wcag2a
- wcag21a
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "accessibility-linter" > Install Plugin
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
src/main/javascript
npm install
To apply JavaScript changes for local debugging, run the build > clean
gradle task. Then run the Run Plugin
task from the run configurations like normal.
gradle.properties
once the plugin version was approved by JetBrains...
src/main/javascript
npm install --omit=dev
gradle.properties
build > clean
gradle taskbuild > build
gradle taskbuild/distributions
Upload Update
(login needed)changelog > patchChangelog
gradle task to update the changelog, afterwards push + commitPlugin based on the IntelliJ Platform Plugin Template.