Skip to content
Permalink
Browse files

Core: Removed tests for .attr() ARIA override since the override no l…

…onger exists.
  • Loading branch information
scottgonzalez committed Jul 21, 2010
1 parent 70c4857 commit 245b93293335e916771aa78363e83f244b43de7a
Showing with 0 additions and 22 deletions.
  1. +0 −2 tests/unit/core/core.html
  2. +0 −20 tests/unit/core/core.js
@@ -117,8 +117,6 @@ <h2 id="qunit-userAgent"></h2>
<span id="spanTabindex3foo" tabindex="3foo"></span>
</div>

<div id="aria"></div>

<div id="zIndex100" style="z-index: 100; position: absolute">
<div id="zIndexAutoWithParent"></div>
</div>
@@ -5,26 +5,6 @@

module('core - jQuery extensions');

test("attr - aria", function() {
expect(6);

var el = $('#aria');

ok(!el.attr('role'), 'role is empty via attr');
equals(el.attr('role', 'tablist').attr('role'), 'tablist', 'role is tablist');

equals(el.attr('aria-expanded'), undefined, 'aria expanded is undefined');

el.attr('aria-expanded', true);
equals(el.attr('aria-expanded'), 'true', 'aria expanded is true');

el.removeAttr('aria-expanded');
equals(el.attr('aria-expanded'), undefined, 'aria expanded is undefined after removing');

el.attr('aria-expanded', false);
equals(el.attr('aria-expanded'), 'false', 'aria expanded is false');
});

test('focus', function() {
expect(3);

0 comments on commit 245b932

Please sign in to comment.
You can’t perform that action at this time.