mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
add a grunt plugin to check accessibility
This commit is contained in:
@@ -50,6 +50,7 @@ module.exports = function (grunt) {
|
||||
grunt.loadNpmTasks("grunt-chmod");
|
||||
grunt.loadNpmTasks("grunt-exec");
|
||||
grunt.loadNpmTasks("grunt-execute");
|
||||
grunt.loadNpmTasks("grunt-accessibility");
|
||||
|
||||
|
||||
// Project configuration
|
||||
@@ -133,6 +134,14 @@ module.exports = function (grunt) {
|
||||
],
|
||||
}
|
||||
},
|
||||
accessibility: {
|
||||
options: {
|
||||
accessibilityLevel: "WCAG2A"
|
||||
},
|
||||
test: {
|
||||
src: ["build/**/*.html"]
|
||||
}
|
||||
},
|
||||
webpack: {
|
||||
options: {
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user