aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/core
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-21 11:25:33 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-21 11:25:33 -0400
commit245b93293335e916771aa78363e83f244b43de7a (patch)
tree987c4c4c96843c1965de0527baa2692c8924518d /tests/unit/core
parent70c4857cc5dbbdbdcd095ca62b39be25020e3066 (diff)
downloadjquery-ui-245b93293335e916771aa78363e83f244b43de7a.tar.gz
jquery-ui-245b93293335e916771aa78363e83f244b43de7a.zip
Core: Removed tests for .attr() ARIA override since the override no longer exists.
Diffstat (limited to 'tests/unit/core')
-rw-r--r--tests/unit/core/core.html2
-rw-r--r--tests/unit/core/core.js20
2 files changed, 0 insertions, 22 deletions
diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html
index 468c962e5..4141bcd09 100644
--- a/tests/unit/core/core.html
+++ b/tests/unit/core/core.html
@@ -117,8 +117,6 @@
<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>
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js
index df811093b..6c550ce0e 100644
--- a/tests/unit/core/core.js
+++ b/tests/unit/core/core.js
@@ -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);