From 5a51c29a0e4634bf115ce65802957e4c67afa45a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 15 Sep 2009 08:38:37 +0000 Subject: [PATCH] progessbar: comments about failing aria-disabled attr test (in IE), no idea why that happens --- tests/unit/progressbar/progressbar_core.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.39.5