aXe runner
This runner can be used with CrawlKit in order to audit a website with the aXe accessibility engine.
Install
npm install crawlkit-runner-axe --save
Example
const CrawlKit = ;const AxeRunner = ; const crawler = 'http://your/page';// You could add a finder here in order to audit a whole network of pagescrawler; crawler ;
Configuring the aXe runner
Passing options
You can pass an options object to the aXe runner like this:
crawler;
For a list of options and the structure of the options object, please consult the aXe API.
Defining context
You can define the context the aXe runner should use like this:
crawler;
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.