#6012 closed defect (fixed)
Dialog: incorrect focus handling when focus order of dialog contents changes
Reported by: | ptbrunet | Owned by: | Becky Gibson |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Dijit | Version: | 1.1b1 |
Keywords: | Cc: | Becky Gibson | |
Blocked By: | Blocking: |
Description (last modified by )
Go to http://archive.dojotoolkit.org/nightly/checkout/dijit/tests/test_Dialog.html. Activate third button that invokes a dialog containing a tabContainer, dialog appears, move focus to the second tab, dismiss the dialog, reactivate the dialog, second tab is active but focus is on the first tab, it takes two arrow presses to move the focus box to next tab.
Change History (5)
comment:1 Changed 12 years ago by
Owner: | set to Becky Gibson |
---|
comment:2 Changed 12 years ago by
Status: | new → assigned |
---|
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Summary: | Tab Container: incorrect focus handling → Dialog: incorrect focus handling when focus order of dialog contents changes |
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [12761]) fixes #6012 refs #6013 Need to find the focusable items in a dialog and tooltip dialog each time the dialog is shown or a key is pressed because the contents of the dialog may change the focus order (as in the case of a tabcontainer). Updated the dialog and tooltip dialogs so that the tabContainer tests have focusable items in at least one tab pane.
Since the focus item can change after invoking a dialog, we will have to search for the first focusable item each time the dialog is opened rather than just on setup.