![]() |
|
|
|
|
Change By:
|
Andreas Weder
(17/Mar/14 2:23 PM)
|
|
Description:
|
The tab order in modal dialogs is currently problematic once you're tabbing beyond the first or last element of the dialog. The browser then switches to another element in the UI, which is confusing, since it's supposed to stay inside the modal dialog.
We should make sure we have a *good tab order* in all forms. * This should
*
include
*
(in this order) all input fields, the main buttons, then the tabs. * The
tab order should *remain inside a modal dialog*. For embedded forms, it can go beyond that. * It should *exclude* all
icons in the dialog header and those marking fields with descriptions
are NOT part of the tab order
. Such additional functionality can be covered by separate keyboard commands to be implemented later.
# Ensure we
Christopher has already done some research on this. It seems that it's
*
set
not easy to constrain
the
initial keyboard focus
tab order inside a closed set of elements without "manual" intervention using JS
*.
The default focus should be
Two options we shortly touched in a discussion was to have listeners
on the first
input field of
and
the
first
last element in a dialog that react once a user wants to
tab
beyond the dialog;
or
on
to remove or otherwise disable
the
default button
"tabindex" HTML attribute for all UI elements
,
if there
which
are
no input fields. # The *default button can be triggered by hitting RETURN*. # For alerts, light dialogs and notifications, those types
currently not part
of
*dialogs can be closed by pressing ESC*
a modal dialog
.
This does NOT apply to regular dialogs and embedded forms, however.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------