aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.dialog.js
diff options
context:
space:
mode:
authorDavid Bolter <david.bolter@gmail.com>2008-11-05 19:43:21 +0000
committerDavid Bolter <david.bolter@gmail.com>2008-11-05 19:43:21 +0000
commitb420cbb3ce9b5c1910ff41a65613e33463f88cd7 (patch)
tree17aad698e43a98d6186c3570aa09b95de3c22b9d /ui/ui.dialog.js
parentf425cae7c4e894c6aa9fc1fefa8e5a426864f959 (diff)
downloadjquery-ui-b420cbb3ce9b5c1910ff41a65613e33463f88cd7.tar.gz
jquery-ui-b420cbb3ce9b5c1910ff41a65613e33463f88cd7.zip
Tweaking attr to normalize for FF2 ARIA implementation. Removed ariaRole and ariaState API. (Assist: Scott González, Fixes #3529)
Diffstat (limited to 'ui/ui.dialog.js')
-rw-r--r--ui/ui.dialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index c940f657d..22ed2bb18 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -83,8 +83,8 @@ $.widget("ui.dialog", {
(options.closeOnEscape && ev.keyCode
&& ev.keyCode == $.keyCode.ESCAPE && self.close());
})
- .ariaRole("dialog")
- .ariaState("labelledby", titleId)
+ .attr("role","dialog")
+ .attr("aria-labelledby", titleId)
.mouseup(function() {
self.moveToTop();
}),