Skip to content

Commit a8038a0

Browse files
committed
Build: add accessibility testing
Fixes jquery-archive#99
1 parent 7d6748c commit a8038a0

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Gruntfile.js

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module.exports = function( grunt ) {
2-
grunt.loadNpmTasks("axe-grunt-webdriver");
3-
var path = require( "path" );
4-
require( "load-grunt-config" )( grunt, {
5-
configPath: [
6-
path.join( process.cwd(), "tasks/options" ),
7-
path.join( process.cwd(), "tasks" )
8-
],
9-
init: true
10-
} );
2+
var path = require( "path" );
3+
require( "load-grunt-config" )( grunt, {
4+
configPath: [
5+
path.join( process.cwd(), "tasks/options" ),
6+
path.join( process.cwd(), "tasks" )
7+
],
8+
init: true
9+
} );
1110
};

tasks/options/axe-webdriver.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
module.exports = {
1+
module.exports = function( grunt ) {
2+
grunt.loadNpmTasks("axe-grunt-webdriver");
3+
return {
24
firefox: {
35
options: {
46
threshold: 0
@@ -7,3 +9,4 @@ module.exports = {
79
dest: 'tmp/gu.json'
810
}
911
};
12+
};

0 commit comments

Comments
 (0)