]> source.dussan.org Git - jquery-ui.git/commitdiff
progessbar: comments about failing aria-disabled attr test (in IE), no idea why that...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 15 Sep 2009 08:38:37 +0000 (08:38 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 15 Sep 2009 08:38:37 +0000 (08:38 +0000)
tests/unit/progressbar/progressbar_core.js

index 7e1cafbd5c28a8020c02f43723a351b9fe880c64..2d95ae2f61907c59f2f5fc1708d8871d32003070 100644 (file)
@@ -19,9 +19,10 @@ test("accessibility", function() {
        el.progressbar("value", 77);
        equals(el.attr("aria-valuenow"), 77, "aria-valuenow");
        el.progressbar("disable");
-       equals(el.attr("aria-disabled"), "true", "aria-disabled");
+       equals(el.attr("aria-disabled"), "true", "aria-disabled on");
        el.progressbar("enable");
-       equals(el.attr("aria-disabled"), "false", "enabled");
+       // FAIL: for some reason IE6 returns a boolean false instead of the string
+       equals(el.attr("aria-disabled"), "false", "aria-disabled off");
 });
 
 })(jQuery);