Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 Becky Gibson)

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 bill

Owner: set to Becky Gibson

comment:2 Changed 12 years ago by Becky Gibson

Status: newassigned

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.

comment:3 Changed 12 years ago by Becky Gibson

Description: modified (diff)
Summary: Tab Container: incorrect focus handlingDialog: incorrect focus handling when focus order of dialog contents changes

comment:4 Changed 12 years ago by Becky Gibson

Resolution: fixed
Status: assignedclosed

(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.

comment:5 Changed 12 years ago by Becky Gibson

(In [12766]) refs #6012 #6013 in _onKey only need to find focusable items when tab key is received since we only care about trapping navigation by tab and shift-tab

Note: See TracTickets for help on using tickets.