aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-16 20:24:57 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-26 10:28:24 +0100
commitb27db7e3b9a857b8f0890e91ae9c8a2d33bf9919 (patch)
treed25bb8ce059b9a4926afa65ed20c14c18712b193 /tests/visual
parent299681e8f0896cd0448fa08003bb7b733adc489f (diff)
downloadjquery-ui-b27db7e3b9a857b8f0890e91ae9c8a2d33bf9919.tar.gz
jquery-ui-b27db7e3b9a857b8f0890e91ae9c8a2d33bf9919.zip
Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/dialog/complex-dialogs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html
index 03bb160fb..5c2e1d8a1 100644
--- a/tests/visual/dialog/complex-dialogs.html
+++ b/tests/visual/dialog/complex-dialogs.html
@@ -107,7 +107,7 @@
<div id="dialog-datepicker" title="A dialog with a datepicker">
<p>Date: <input id="datepicker"></p>
- <p><button id="open-autocomplete">Open another window with an autocomplete and a tooltip.</button></p>
+ <p><button id="open-autocomplete" autofocus>Open another window with an autocomplete and a tooltip.</button></p>
</div>
<div id="dialog-autocomplete">