Skip to content

Commit 245b932

Browse files
committed
Core: Removed tests for .attr() ARIA override since the override no longer exists.
1 parent 70c4857 commit 245b932

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

tests/unit/core/core.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ <h2 id="qunit-userAgent"></h2>
117117
<span id="spanTabindex3foo" tabindex="3foo"></span>
118118
</div>
119119

120-
<div id="aria"></div>
121-
122120
<div id="zIndex100" style="z-index: 100; position: absolute">
123121
<div id="zIndexAutoWithParent"></div>
124122
</div>

tests/unit/core/core.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,6 @@
55

66
module('core - jQuery extensions');
77

8-
test("attr - aria", function() {
9-
expect(6);
10-
11-
var el = $('#aria');
12-
13-
ok(!el.attr('role'), 'role is empty via attr');
14-
equals(el.attr('role', 'tablist').attr('role'), 'tablist', 'role is tablist');
15-
16-
equals(el.attr('aria-expanded'), undefined, 'aria expanded is undefined');
17-
18-
el.attr('aria-expanded', true);
19-
equals(el.attr('aria-expanded'), 'true', 'aria expanded is true');
20-
21-
el.removeAttr('aria-expanded');
22-
equals(el.attr('aria-expanded'), undefined, 'aria expanded is undefined after removing');
23-
24-
el.attr('aria-expanded', false);
25-
equals(el.attr('aria-expanded'), 'false', 'aria expanded is false');
26-
});
27-
288
test('focus', function() {
299
expect(3);
3010

0 commit comments

Comments
 (0)