From 4ded54b8440cb70c2ba3d34a9e13566606200330 Mon Sep 17 00:00:00 2001 From: Jaydattsinh Champavat Date: Wed, 8 Jan 2020 15:54:07 +0530 Subject: [PATCH] changing package name to 'eslint-plugin-jsx-a11y' instead of 'eslint-jsx-plugin-a11y' 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. --- docs/docs/making-your-site-accessible.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/making-your-site-accessible.md b/docs/docs/making-your-site-accessible.md index e34467d51bb40..80ac3f54b225a 100644 --- a/docs/docs/making-your-site-accessible.md +++ b/docs/docs/making-your-site-accessible.md @@ -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).