A very simple usage sample for CrawlKit that runs a few runners against a given webpage:
Alistair Duggin, 16th February 2016 on twitter:
Created a page with 100 accessibility fails to test & compare automated accessibility tools http://goo.gl/7w6iBb Loads more fails to add!
This sample runs against Alistair's sample site and prints the found accessibility defects to the console.
Please note: this sample only runs against a single webpage. CrawlKit is actually tailored to crawl a whole network of pages and run against all of them. As such, the returned result for a single webpage is seemingly a bit complex. To run against multiple webpages, have a look at the examples in the CrawlKit main repository.
- Clone this repository
- Run
npm install
- Run
npm start
The results are in result/
, use json2table.com for easier browsing.