Skip to content

Commit 7ea8d6b

Browse files
WilcoFiersmarcysutton
authored andcommitted
fix: Pass all tests that use accessibleText
1 parent 0f98481 commit 7ea8d6b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/checks/keyboard/focusable-no-name.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ describe('focusable-no-name', function () {
2727
assert.isTrue(checks['focusable-no-name'].evaluate(node));
2828
});
2929

30-
it('should fail if element is tabable with no name - ARIA', function () {
30+
it('should fail if element is tabbable with no name - ARIA', function () {
3131
fixtureSetup('<span tabindex="0" role="link" href="#"></spam>');
3232
var node = fixture.querySelector('span');
3333
assert.isTrue(checks['focusable-no-name'].evaluate(node));
3434
});
3535

36-
it('should pass if the element is tabable but has an accessible name', function () {
36+
it('should pass if the element is tabbable but has an accessible name', function () {
3737
fixtureSetup('<a href="#" title="Hello"></a>');
3838
var node = fixture.querySelector('a');
3939
assert.isFalse(checks['focusable-no-name'].evaluate(node));

test/testutils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ testUtils.fixtureSetup = function (content) {
2727
axe._tree = axe.utils.getFlattenedTree(fixture);
2828
return fixture;
2929
};
30-
3130
/**
3231
* Create check arguments
3332
*

0 commit comments

Comments
 (0)