diff --git a/lib/rules/bypass.json b/lib/rules/bypass.json index a4fea1de5c..4967fe8bf7 100644 --- a/lib/rules/bypass.json +++ b/lib/rules/bypass.json @@ -3,6 +3,7 @@ "selector": "html", "pageLevel": true, "matches": "bypass-matches", + "reviewOnFail": true, "tags": [ "cat.keyboard", "wcag2a", diff --git a/test/integration/full/bypass/fail.js b/test/integration/full/bypass/fail.js index 47b495db93..3e93fab1de 100644 --- a/test/integration/full/bypass/fail.js +++ b/test/integration/full/bypass/fail.js @@ -17,13 +17,13 @@ describe('bypass fail test', function() { }); }); - describe('violations', function() { + describe('incomplete', function() { it('should find 1', function() { - assert.lengthOf(results.violations, 1); + assert.lengthOf(results.incomplete, 1); }); it('should find html', function() { - assert.deepEqual(results.violations[0].nodes[0].target, ['html']); + assert.deepEqual(results.incomplete[0].nodes[0].target, ['html']); }); }); diff --git a/test/integration/full/bypass/header-iframe-fail.js b/test/integration/full/bypass/header-iframe-fail.js index 9867023ee1..d54d244808 100644 --- a/test/integration/full/bypass/header-iframe-fail.js +++ b/test/integration/full/bypass/header-iframe-fail.js @@ -20,13 +20,13 @@ describe('bypass iframe test fail', function() { }); }); - describe('violations', function() { + describe('incomplete', function() { it('should find 1', function() { - assert.lengthOf(results.violations[0].nodes, 1); + assert.lengthOf(results.incomplete[0].nodes, 1); }); it('should find #frame1', function() { - assert.deepEqual(results.violations[0].nodes[0].target, ['#fail1']); + assert.deepEqual(results.incomplete[0].nodes[0].target, ['#fail1']); }); }); diff --git a/test/integration/full/bypass/header-iframe-pass.js b/test/integration/full/bypass/header-iframe-pass.js index 7712bb9ecf..d94699c989 100644 --- a/test/integration/full/bypass/header-iframe-pass.js +++ b/test/integration/full/bypass/header-iframe-pass.js @@ -21,9 +21,9 @@ describe('bypass iframe test pass', function() { }); }); - describe('violations', function() { + describe('incomplete', function() { it('should find none', function() { - assert.lengthOf(results.violations, 0); + assert.lengthOf(results.incomplete, 0); }); }); diff --git a/test/integration/full/bypass/pass-tests.js b/test/integration/full/bypass/pass-tests.js index e550e564ad..66afb5a1f0 100644 --- a/test/integration/full/bypass/pass-tests.js +++ b/test/integration/full/bypass/pass-tests.js @@ -12,9 +12,9 @@ describe('bypass aria header test ' + window.location.pathname, function() { }); }); - describe('violations', function() { + describe('incomplete', function() { it('should find none', function() { - assert.lengthOf(results.violations, 0); + assert.lengthOf(results.incomplete, 0); }); });