opine-axe
v0.1.2
Published
A module for gulp-opine that runs Axe the accessibility engine for automated Web UI testing
Downloads
1
Readme
opine-axe
This is a port of gulp-axe-webdriver for the gulp package Opine. It allows you to run Axe the accessibility engine over a bunch of urls.
Installation
yarn add opine-axe
npm install opine-axe --save-dev
Once installed add the following to the file gulpfile.js
require('opine-axe');
Configuration
Options for the task can be viewed at gulp-axe-webdriver. You will need to specify a list of urls to check in your gulp config at /config/default.js
.
axe: {
urls: [
'http://link.to/site/url',
'path/to/dir.html'
]
},
Usage
To run the task use
gulp axe