
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
crawlkit-runner-axe
Advanced tools
This runner can be used with CrawlKit in order to audit a website with the aXe accessibility engine.
npm install crawlkit-runner-axe --save
const CrawlKit = require('crawlkit');
const AxeRunner = require('crawlkit-runner-axe');
const crawler = new CrawlKit('http://your/page');
// You could add a finder here in order to audit a whole network of pages
crawler.addRunner('aXe', new AxeRunner());
crawler.crawl()
.then((data) => {
console.log(JSON.stringify(data.results, true, 2));
}, (err) => console.error(err));
You can pass an options object to the aXe runner like this:
crawler.addRunner('aXe', new AxeRunner(), {
runOnly: {
type: 'tag',
values: ['wcag2aa']
}
});
For a list of options and the structure of the options object, please consult the aXe API.
You can define the context the aXe runner should use like this:
crawler.addRunner('aXe', new AxeRunner(), null, '.my-context');
By default, the context is document
. Please bear in mind that only selector contexts work, as the code of the aXe runner itself runs in node.
This project is in no way affiliated with Deque Labs.
FAQs
A CrawlKit runner for auditing a website with aXe
The npm package crawlkit-runner-axe receives a total of 0 weekly downloads. As such, crawlkit-runner-axe popularity was classified as not popular.
We found that crawlkit-runner-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.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.