crawlkit-runner-accessibility-developer-tools
v1.1.3
Published
A CrawlKit runner for running the Google Chrome a11y developer tools
Downloads
8
Readme
Google Chrome Accessibility Developer Tools runner
This runner can be used with CrawlKit in order to audit a website with the Google Chrome Accessibility Developer Tools.
Install
npm install crawlkit-runner-accessibility-developer-tools --save
Example
const CrawlKit = require('crawlkit');
const A11yDeveloperToolsRunner = require('crawlkit-runner-accessibility-developer-tools');
const crawler = new CrawlKit('http://your/page');
// You could add a finder here in order to audit a whole network of pages
crawler.addRunner('a11y-dev-tools', new A11yDeveloperToolsRunner());
crawler.crawl()
.then((data) => {
console.log(JSON.stringify(data.results, true, 2));
}, (err) => console.error(err));
This project is in no way affiliated with Google, Inc.