
Product
Introducing Historical Analytics – Now in Beta
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
gatsby-plugin-react-axe
Advanced tools
Gatsby plugin that integrates react-axe for a11y testing
npm install --save gatsby-plugin-react-axe
// gatsby-config.js
module.exports = {
plugins: [
// This plugin should only appear in your gatsby-config.js file once.
//
// All options are optional.
{
resolve: 'gatsby-plugin-react-axe',
options: {
// Number of milliseconds to wait for component updates to cease before
// performing an analysis of all the changes. This defaults to 1000ms (1 second).
debounce: 1000,
// Integrate react-axe in production. This defaults to false.
showInProduction: false,
// Options to pass to axe-core.
// See: https://github.com/dequelabs/axe-core/blob/master/doc/API.md#api-name-axeconfigure
axeOptions: {
// Your axe-core options.
},
// Context to pass to axe-core.
// See: https://github.com/dequelabs/axe-core/blob/master/doc/API.md#context-parameter
axeContext: {
// Your axe-core context.
},
},
},
],
}
Once added to your gatsby-config.js
, react-axe will begin printing a11y
warnings to your browser's console.
FAQs
Gatsby plugin that integrates react-axe for a11y testing
The npm package gatsby-plugin-react-axe receives a total of 470 weekly downloads. As such, gatsby-plugin-react-axe popularity was classified as not popular.
We found that gatsby-plugin-react-axe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Company News
Socket is bringing best-in-class reachability analysis into the platform — cutting false positives, accelerating triage, and cementing our place as the leader in software supply chain security.