Skip to content

Commit

Permalink
changing package name to 'eslint-plugin-jsx-a11y' instead of 'eslint-…
Browse files Browse the repository at this point in the history
…jsx-plugin-a11y' (#20471)

name of plugin 'eslint-plugin-jsx-a11y' is misspelled as 'eslint-jsx-plugin-a11y', which can confuse readers as the package does not exist on npm's package repository.
  • Loading branch information
jaydattc authored and LekoArts committed Jan 8, 2020
1 parent 99d3537 commit e351aad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/making-your-site-accessible.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Since the [second major release](/blog/2018-09-17-gatsby-v2/), your Gatsby sites

For websites, rendering [static HTML](/docs/glossary#static) pages means that JavaScript isn't required to access and navigate through content. Gatsby [compiles](/docs/glossary#compiler) HTML pages by default from React components using [Node.js](/docs/glossary#nodejs), meaning you don't have to worry about setting up server-rendering yourself to support [progressive enhancement](/docs/glossary#progressive-enhancement). With Gatsby's static support out of the box, you can build dynamic sites that still enable user access without requiring [client-side](/docs/glossary#client-side) scripting.

### Linting with eslint-jsx-plugin-a11y
### Linting with eslint-plugin-jsx-a11y

Gatsby ships with the `eslint-jsx-plugin-a11y` package and warnings for all of its rules enabled by default. [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) is an accessibility [linting](/docs/glossary#linting) tool for your code, helping you develop more inclusive Gatsby projects by reducing the time to find accessibility errors. This plugin encourages you to include alternative text for image tags, validates [ARIA](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) props, and eliminates redundant role properties, among other things.
Gatsby ships with the `eslint-plugin-jsx-a11y` package and warnings for all of its rules enabled by default. [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) is an accessibility [linting](/docs/glossary#linting) tool for your code, helping you develop more inclusive Gatsby projects by reducing the time to find accessibility errors. This plugin encourages you to include alternative text for image tags, validates [ARIA](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) props, and eliminates redundant role properties, among other things.

For more on supported rules, check out the docs for [`eslint-plugin-jsx-a11y`](https://github.com/evcohen/eslint-plugin-jsx-a11y). You can customize those rules in your [`.eslintrc`](/docs/eslint/#configuring-eslint).

Expand Down

0 comments on commit e351aad

Please sign in to comment.