aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-12-11 01:22:06 +0000
committerScott González <scott.gonzalez@gmail.com>2008-12-11 01:22:06 +0000
commit06ed0691cf1551bac05566da627f4381330183b4 (patch)
treef0bc08a9490dcd980c5a5f4e0015c399ea7fb6c6
parent8c7f9f31dab0c1f5ce31736bce114e89f3d3231a (diff)
downloadjquery-ui-06ed0691cf1551bac05566da627f4381330183b4.tar.gz
jquery-ui-06ed0691cf1551bac05566da627f4381330183b4.zip
Static dialog test: Added ARIA semantics.
-rw-r--r--tests/static/dialog.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/static/dialog.html b/tests/static/dialog.html
index c69c6b46e..ee9c0e227 100644
--- a/tests/static/dialog.html
+++ b/tests/static/dialog.html
@@ -9,10 +9,10 @@
<body style="font-size: 62.5%;">
-<div class="ui-dialog ui-widget ui-widget-content ui-corner-all">
+<div class="ui-dialog ui-widget ui-widget-content ui-corner-all" role="dialog" aria-labelledby="ui-dialog-title-1">
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">
- <span class="ui-dialog-title">This is my title</span>
- <a href="#" class="ui-dialog-titlebar-close ui-corner-all" title="Close"><span class="ui-icon ui-icon-closethick">Close</span></a>
+ <span class="ui-dialog-title" id="ui-dialog-title-1">This is my title</span>
+ <a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button" title="Close"><span class="ui-icon ui-icon-closethick">Close</span></a>
</div>
<div class="ui-dialog-content ui-widget-content" style="height: 13em;">
<p>I'm in a dialog!</p>