by jsx-eslint · eslint-plugin-jsx-a11y
The same accessibility rules as recommended with fewer exceptions allowed.
pnpm add -D eslint eslint-plugin-jsx-a11y// eslint.config.js
import jsxA11y from "eslint-plugin-jsx-a11y";
export default [
jsxA11y.flatConfigs.strict,
];| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| jsx-a11y/alt-text | error | In ESLint, Oxlint, Biome | 149.3M | +52.2% |
| jsx-a11y/aria-props | error | In ESLint, Oxlint, Biome | 149.3M | +52.2% |
| jsx-a11y/aria-proptypes | error | In ESLint, Oxlint, Biome | 149.3M | +52.2% |
| jsx-a11y/aria-unsupported-elements | error | In ESLint, Oxlint, Biome | 149.3M | +52.2% |
| jsx-a11y/role-has-required-aria-props | error | In ESLint, Oxlint, Biome | 149.3M | +52.2% |
| jsx-a11y/role-supports-aria-props | error | In ESLint, Oxlint, Biome | 149.3M | +52.2% |
| jsx-a11y/anchor-has-content | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/anchor-is-valid | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/aria-activedescendant-has-tabindex | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/aria-role | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/heading-has-content | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/iframe-has-title | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/img-redundant-alt | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/no-access-key | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/no-distracting-elements | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/no-redundant-roles | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/scope | error | In ESLint, Oxlint, Biome | 102.4M | +53.0% |
| jsx-a11y/click-events-have-key-events | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/html-has-lang | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/interactive-supports-focus | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/label-has-associated-control | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/media-has-caption | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/mouse-events-have-key-events | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/no-interactive-element-to-noninteractive-role | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/no-noninteractive-element-to-interactive-role | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/no-noninteractive-tabindex | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/no-static-element-interactions | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/tabindex-no-positive | error | In ESLint, Oxlint, Biome | 98.3M | +56.0% |
| jsx-a11y/no-autofocus | error | In ESLint, Oxlint, Biome | 96.3M | +54.7% |
| jsx-a11y/autocomplete-valid | error | In ESLint, Oxlint, Biome | 95M | +58.9% |
| jsx-a11y/no-noninteractive-element-interactions | error | In ESLint, Oxlint, Biome | 70.3M | +42.0% |