From 44d2e100bddfb9d9c9a9a38edd76f39dc285553e Mon Sep 17 00:00:00 2001 From: Matt C Date: Fri, 7 Apr 2017 17:00:32 +0100 Subject: [PATCH] Made changes to fix accessibility errors Still some warnings and notices, but they are inconsequential. --- Gruntfile.js | 8 +++- src/web/html/index.html | 101 ++++++++++++++++++++-------------------- 2 files changed, 57 insertions(+), 52 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index cfd66480..2f8969b8 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -26,7 +26,7 @@ module.exports = function (grunt) { grunt.registerTask("prod", "Creates a production-ready build. Use the --msg flag to add a compile message.", - ["eslint", "clean:prod", "webpack:webProd", "inline", "chmod"]); + ["eslint", "clean:prod", "webpack:webProd", "accessibility:test", "inline", "chmod"]); grunt.registerTask("default", "Lints the code base", @@ -136,7 +136,11 @@ module.exports = function (grunt) { }, accessibility: { options: { - accessibilityLevel: "WCAG2A" + accessibilityLevel: "WCAG2A", + verbose: false, + ignore: [ + "WCAG2A.Principle1.Guideline1_3.1_3_1.H42.2" + ] }, test: { src: ["build/**/*.html"] diff --git a/src/web/html/index.html b/src/web/html/index.html index edf2a2d5..35877e45 100755 --- a/src/web/html/index.html +++ b/src/web/html/index.html @@ -20,7 +20,7 @@ --> - + CyberChef @@ -32,7 +32,7 @@ - Edit + Edit
@@ -42,7 +42,7 @@ <% if (htmlWebpackPlugin.options.inline) { %> Compile time: <%= htmlWebpackPlugin.options.compileTime %> <% } else { %> - Download CyberChef + Download CyberChef <% } %> - - + +
@@ -73,25 +73,25 @@
-
- - + +
- - - + + +
@@ -99,10 +99,10 @@
- Input +
- - + +
@@ -115,12 +115,12 @@
- Output +
- - - - + + + +
@@ -139,7 +139,7 @@