Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

eslint-plugin-react-a11y

Latest version: v3.2.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: ofriperetz
20 Stars
0 Forks
25 Versions
17.4K Downloads
TypeScript Repo language

Scan summary

eslint-plugin-react-a11y was last scanned on 25 Nov 2026 at version 3.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 25 versions; the latest 5 were published within 2 days (24 and 25 Nov 2026).
  • Findings: No rules fired in version 3.2.0.
  • Downloads: 17,355 downloads.

Versions

25 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.2.0 LATEST 25 Nov 2026 No rules fired
3.1.1 25 Nov 2026 No rules fired
3.1.0 25 Nov 2026 No rules fired
3.0.10 24 Nov 2026 Not shown
3.0.9 24 Nov 2026 Not shown

No rules fired in 3.2.0

Findings

Findings for v3.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 3.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Getting Started

npm install --save-dev eslint eslint-plugin-react-a11y
// eslint.config.mjs
import { configs } from 'eslint-plugin-react-a11y';

export default [configs.recommended];

recommended is the preset to start with. The others are listed under Configuration Presets below.

Using oxlint or Vite+? Install oxlint-plugin-react-a11y: the same rules under the same react-a11y/<rule> IDs, without ESLint. Its page has the setup.

Description

This plugin provides ESLint rules for React accessibility: ARIA, alt text, keyboard interaction and focus management, from WCAG 2.1.

  • Why — a linter nobody reads protects nothing. We would rather miss a finding than spend your attention on one that was never real.
  • How — evidence, not names. A rule fires on what the code does, resolved through the AST and ESLint's own scope analysis.
  • What — every finding carries its fix, in prose for a human and as structured JSON for an agent. Security rules add a CWE mapping and, where assigned, a CVSS score.

That trade costs recall, and we measure it: methodology · results · a false positive is a bug.

⚙️ Configuration Presets

Preset Description
recommended Enables critical accessibility rules (WCAG Level A as errors, AA as warnings)
strict Enforces all rules as errors for maximum WCAG compliance
wcag-a Only rules required for WCAG 2.1 Level A compliance
wcag-aa Includes Level A + additional rules for Level AA compliance

Configuration Examples

Basic Usage
// eslint.config.js
import reactA11y from 'eslint-plugin-react-a11y';

export default [reactA11y.configs.recommended];
With TypeScript
import reactA11y from 'eslint-plugin-react-a11y';
import tseslint from 'typescript-eslint';

export default [
  ...tseslint.configs.recommended,
  reactA11y.configs.recommended,
  {
    files: ['**/*.{ts,tsx}'],
    rules: {
      'react-a11y/alt-text': 'error',
    },
  },
];
Strict WCAG Compliance
import reactA11y from 'eslint-plugin-react-a11y';

export default [
  reactA11y.configs['wcag-aa'],
  {
    // Additional customizations
  },
];
Custom Configuration
import reactA11y from 'eslint-plugin-react-a11y';

export default [
  {
    plugins: {
      'react-a11y': reactA11y,
    },
    rules: {
      'react-a11y/alt-text': [
        'error',
        {
          allowAriaLabel: true,
          allowAriaLabelledby: true,
        },
      ],
      'react-a11y/anchor-ambiguous-text': [
        'warn',
        {
          words: ['click here', 'here', 'more', 'read more', 'learn more'],
        },
      ],
    },
  },
];

Migrating from eslint-plugin-jsx-a11y

Facts, as measured against eslint-plugin-jsx-a11y 6.10.2.

  • Keep your rule IDs and disable comments. Register the plugin under the jsx-a11y key and every shared rule resolves under jsx-a11y/<rule>. 35 rule names are the same in both plugins; none is renamed.

    import reactA11y from 'eslint-plugin-react-a11y';
    
    export default [
      {
        plugins: { 'jsx-a11y': reactA11y },
        rules: { 'jsx-a11y/alt-text': 'error' },
      },
    ];

    // eslint-disable-next-line jsx-a11y/alt-text keeps working unchanged.

  • Rules that do not exist here: aria-proptypes (a live upstream rule, enabled in both upstream presets). A config that enables it throws on load. The deprecated upstream rules accessible-emoji, label-has-for and no-onchange are registered as no-ops (meta.deprecated: true), so a config that names them loads; they report nothing and no preset enables them. label-has-for is replacedBy label-has-associated-control.

  • Options load. The option objects in upstream's recommended and strict presets load without error (includeRoles, allowExpressionValues, element-keyed handler lists, elements, hoverInHandlers). Which are read is listed on each rule's page; includeRoles is accepted and read by nothing, as upstream.

  • settings['jsx-a11y'] is not read yet. components, polymorphicPropName, polymorphicAllowList and attributes are ignored by every rule. Use the per-rule options (components, controlComponents, ...) instead.

  • The presets use the react-a11y/ prefix and are not aliased to jsx-a11y/. configs.recommended and flatConfigs.recommended (also strict) are the same object, keyed react-a11y; spreading one next to a plugin registered as jsx-a11y enables the rules under both prefixes. Each preset sets languageOptions.parserOptions.ecmaFeatures.jsx.

  • Severities differ. recommended here is error for WCAG Level A rules and warn for the rest; upstream's is error for nearly every rule, with per-rule options that these presets do not carry.

📦 Compatibility

Package Version
ESLint ^8.40.0 \|\| ^9.0.0 \|\| ^10.0.0
Node.js >=22.13.0

See the ESLint Version Support Policy — current ecosystem share data, the 20% gate, and the forward-looking exception that covers v10.

Rules

Legend

Icon Description
💼 Recommended: Included in the recommended preset.
⚠️ Warns: Set to warn in recommended preset.
🔧 Auto-fixable: Automatically fixable by the --fix CLI option.
💡 Suggestions: Providing code suggestions in IDE.
🚫 Deprecated: This rule is deprecated.
🟢 Type-unaware: AST-only, runs in oxlint JS-plugin tier.
🟡 Type-aware (refining): pure-AST primary path; types refine precision.
🟠 Type-aware (graceful): requires TS program; silent without it.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm eslint-plugin-react-a11y

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229