Accessibility Auditor
Generates a JSON report based on the aXe accessibility auditor. Takes screenshots of each element in violation of accessibility guidelines.
Usage
const auditor = require('tw-accessibility-auditor');
const page = 'http://www.thrillworks.com';
const pages = [
'http://www.timhortons.com/ca/en/',
'http://www.timhortons.com/ca/en/menu/tea.php'
];
(async () {
const singlePageResult = await auditor.audit(page);
const multiplePageResult = await auditor.auditAll(pages);
})();