From: Jörn Zaefferer Date: Tue, 15 Sep 2009 08:38:37 +0000 (+0000) Subject: progessbar: comments about failing aria-disabled attr test (in IE), no idea why that... X-Git-Tag: 1.8a2~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a51c29a0e4634bf115ce65802957e4c67afa45a;p=jquery-ui.git progessbar: comments about failing aria-disabled attr test (in IE), no idea why that happens --- diff --git a/tests/unit/progressbar/progressbar_core.js b/tests/unit/progressbar/progressbar_core.js index 7e1cafbd5..2d95ae2f6 100644 --- a/tests/unit/progressbar/progressbar_core.js +++ b/tests/unit/progressbar/progressbar_core.js @@ -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);