From 7ea8d6b82b76e688ac3384c37a5d13841798138d Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Tue, 11 Jul 2017 17:58:08 +0200 Subject: [PATCH] fix: Pass all tests that use accessibleText --- test/checks/keyboard/focusable-no-name.js | 4 ++-- test/testutils.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/checks/keyboard/focusable-no-name.js b/test/checks/keyboard/focusable-no-name.js index 70191cc18b..4ed49328c0 100644 --- a/test/checks/keyboard/focusable-no-name.js +++ b/test/checks/keyboard/focusable-no-name.js @@ -27,13 +27,13 @@ describe('focusable-no-name', function () { assert.isTrue(checks['focusable-no-name'].evaluate(node)); }); - it('should fail if element is tabable with no name - ARIA', function () { + it('should fail if element is tabbable with no name - ARIA', function () { fixtureSetup(''); var node = fixture.querySelector('span'); assert.isTrue(checks['focusable-no-name'].evaluate(node)); }); - it('should pass if the element is tabable but has an accessible name', function () { + it('should pass if the element is tabbable but has an accessible name', function () { fixtureSetup(''); var node = fixture.querySelector('a'); assert.isFalse(checks['focusable-no-name'].evaluate(node)); diff --git a/test/testutils.js b/test/testutils.js index ab8cfc811c..e3b13ec8ac 100644 --- a/test/testutils.js +++ b/test/testutils.js @@ -27,7 +27,6 @@ testUtils.fixtureSetup = function (content) { axe._tree = axe.utils.getFlattenedTree(fixture); return fixture; }; - /** * Create check arguments *