Tabbing Through Dialogs

29 views
Skip to first unread message

Scott González

unread,
Oct 26, 2008, 9:39:11 PM10/26/08
to jQuery UI Development
The DHTML Style Guide suggests that in all dialogs (modal and non-modal) "focus via the tab and shift-tab key must be maintained within the dialog."  We currently do this for modal dialogs, but not for non-modal dialogs.  For those wondering how you would interact with the rest of the page while keeping the dialog open, they recommend using F6 to toggle focus between the page and the dialog.  Any objections to extending this behavior to all dialogs and following the DHTML Style Guide?

One thing I'm not sure about is how the focus toggling would work if there are multiple dialogs open at the same time.

Richard D. Worth

unread,
Oct 27, 2008, 7:46:39 AM10/27/08
to jquery...@googlegroups.com
On Sun, Oct 26, 2008 at 9:39 PM, Scott González <scott.g...@gmail.com> wrote:
The DHTML Style Guide suggests that in all dialogs (modal and non-modal) "focus via the tab and shift-tab key must be maintained within the dialog."  We currently do this for modal dialogs, but not for non-modal dialogs.  For those wondering how you would interact with the rest of the page while keeping the dialog open, they recommend using F6 to toggle focus between the page and the dialog.  Any objections to extending this behavior to all dialogs and following the DHTML Style Guide?

I'd be really curious to see some examples of this in the wild. Have you looked at how Dojo does it?


One thing I'm not sure about is how the focus toggling would work if there are multiple dialogs open at the same time.

I would think F6 would just cycle focus between the main window and each open dialog.

- Richard

Scott González

unread,
Oct 27, 2008, 9:03:19 AM10/27/08
to jquery...@googlegroups.com
Dojo's tooltip example keeps focus within the dialog while tabbing through the fields.  It works properly in Firefox 3 and Opera 9.5, but not in Safari 3.  For what it's worth, F6 does nothing in their example.
Reply all
Reply to author
Forward
0 new messages