Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 2, 2024 via pnpm

eslint-plugin-jsx-a11y 6.7.1

Static AST checker for accessibility rules on JSX elements.
Package summary
Share
2
issues
1
moderate severity
license
1
1
low severity
license
1
9
licenses
151
MIT
16
ISC
7
BSD-2-Clause
12
other licenses
Apache-2.0
6
BSD-3-Clause
2
Python-2.0
1
MPL-2.0
1
+ 2 more
Package created
29 Feb 2016
Version published
12 Jan 2023
Maintainers
4
Total deps
186
Direct deps
17
License
MIT

Issues

2

1 moderate severity issue

moderate
Recommendation: Validate that the package complies with your license policy
via: axe-core@4.9.0
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: language-tags@1.0.5
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
151 Packages, Including:
@babel/runtime@7.24.5
@eslint-community/eslint-utils@4.4.0
@eslint-community/regexpp@4.10.0
@eslint/eslintrc@2.1.4
@eslint/js@8.57.0
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
acorn-jsx@5.3.2
acorn@8.11.3
ajv@6.12.6
ansi-regex@5.0.1
ansi-styles@4.3.0
array-buffer-byte-length@1.0.1
array-includes@3.1.8
array.prototype.flat@1.3.2
array.prototype.flatmap@1.3.2
arraybuffer.prototype.slice@1.0.3
available-typed-arrays@1.0.7
balanced-match@1.0.2
brace-expansion@1.1.11
call-bind@1.0.7
callsites@3.1.0
chalk@4.1.2
color-convert@2.0.1
color-name@1.1.4
concat-map@0.0.1
cross-spawn@7.0.3
data-view-buffer@1.0.1
data-view-byte-length@1.0.1
data-view-byte-offset@1.0.0
debug@4.3.4
deep-is@0.1.4
define-data-property@1.1.4
define-properties@1.2.1
dequal@2.0.3
emoji-regex@9.2.2
es-abstract@1.23.3
es-define-property@1.0.0
es-errors@1.3.0
es-object-atoms@1.0.0
es-set-tostringtag@2.0.3
es-shim-unscopables@1.0.2
es-to-primitive@1.2.1
escape-string-regexp@4.0.0
eslint-plugin-jsx-a11y@6.7.1
eslint@8.57.0
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
fast-levenshtein@2.0.6

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
@ungap/structured-clone@1.2.0
ast-types-flow@0.0.7
fastq@1.17.1
flatted@3.3.1
fs.realpath@1.0.0
glob-parent@6.0.2
glob@7.2.3
inflight@1.0.6
inherits@2.0.4
isexe@2.0.0
minimatch@3.1.2
once@1.4.0
rimraf@3.0.2
semver@6.3.1
which@2.0.2
wrappy@1.0.2

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
7 Packages, Including:
damerau-levenshtein@1.0.8
eslint-scope@7.2.2
espree@9.6.1
esrecurse@4.3.0
estraverse@5.3.0
esutils@2.0.3
uri-js@4.4.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
6 Packages, Including:
@humanwhocodes/config-array@0.11.14
@humanwhocodes/module-importer@1.0.1
aria-query@5.3.0
axobject-query@3.2.1
doctrine@3.0.0
eslint-visitor-keys@3.4.3

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
@humanwhocodes/object-schema@2.0.3
esquery@1.5.0

Python License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
state-changes
1 Packages, Including:
argparse@2.0.1

Mozilla Public License 2.0

Weakly Protective
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
place-warranty
use-patent-claims
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
disclose-source
include-original
1 Packages, Including:
axe-core@4.9.0

Creative Commons Zero v1.0 Universal

Public Domain
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
language-subtag-registry@0.3.22

(MIT OR CC0-1.0)

Public Domain
1 Packages, Including:
type-fest@0.20.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

17
All Dependencies CSV
β“˜ This is a list of eslint-plugin-jsx-a11y 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@babel/runtime7.24.5256.12 kBMIT
prod
aria-query5.3.01 BApache-2.0
prod
array-includes3.1.825.71 kBMIT
prod
array.prototype.flatmap1.3.26.72 kBMIT
prod
ast-types-flow0.0.78.36 kBISC
prod
axe-core4.9.02.66 MBMPL-2.0
prod
1
axobject-query3.2.120.58 kBApache-2.0
prod
damerau-levenshtein1.0.84.04 kBBSD-2-Clause
prod
emoji-regex9.2.210.86 kBMIT
prod
eslint8.57.02.9 MBMIT
prod peer
has1.0.41.59 kBMIT
prod
jsx-ast-utils3.3.533.4 kBMIT
prod
language-tags1.0.510.43 kBMIT
prod
1
minimatch3.1.211.66 kBISC
prod
object.entries1.1.831.8 kBMIT
prod
object.fromentries2.0.815.94 kBMIT
prod
semver6.3.118.65 kBISC
prod

Visualizations

Frequently Asked Questions

What does eslint-plugin-jsx-a11y do?

The eslint-plugin-jsx-a11y is a static AST (Abstract Syntax Tree) checker for accessibility rules specifically designed for JSX elements. It evaluates the JSX statically in order to identify any accessibility issues within your React applications.

How do you use eslint-plugin-jsx-a11y?

To use eslint-plugin-jsx-a11y, first, you need to install it in your JavaScript project. Install ESLint and plugin-jsx-a11y using npm or yarn as shown:

# npm
npm install eslint --save-dev
npm install eslint-plugin-jsx-a11y --save-dev

# yarn
yarn add eslint --dev
yarn add eslint-plugin-jsx-a11y --dev

Remember to install the plugin globally if you installed ESLint globally.

In your .eslintrc configuration file, add jsx-a11y to the plugins section. The eslint-plugin- prefix can be omitted.

{
  "plugins": ["jsx-a11y"]
}

Then specify the rules you wish to use under the rules section:

{
  "rules": {
    "jsx-a11y/rule-name": 2
  }
}

You can enable all the recommended or strict rules at once by adding plugin:jsx-a11y/recommended or plugin:jsx-a11y/strict in the extends section:

{
  "extends": ["plugin:jsx-a11y/recommended"]
}

Where are the eslint-plugin-jsx-a11y docs?

The eslint-plugin-jsx-a11y documentation is available on the GitHub repository under the Supported Rules section. The detailed rule description can be found through the linked Markdown files within each rule in this section.

Additionally, you can find more information on creating new rules, background on WAI-ARIA, the AX Tree and Browsers, and the plugin license on the same GitHub page. These sections provide vital knowledge for implementing and using the eslint-plugin-jsx-a11y package in your JavaScript project efficiently.