aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.dialog.js
diff options
context:
space:
mode:
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();
}),