Opened 12 years ago

Closed 11 years ago

#5133 closed defect (fixed)

Dialog: The dialog itself shouldn't get focus, only its contents

Reported by: ptbrunet Owned by: Becky Gibson
Priority: high Milestone: 1.1
Component: Accessibility Version: 0.9
Keywords: Cc: brunet@…
Blocked By: Blocking:

Description

Go to http://archive.dojotoolkit.org/dojo-2007-11-05/dojotoolkit/dijit/tests/test_Dialog.html and open a dialog and tab around the tab cycle. There is an extra tab stop on the dialog itself that should not be there.

Change History (7)

comment:1 Changed 12 years ago by ptbrunet

Dialogs should always have at least one widget inside, e.g. an OK button for a message. If the author left one off then as a fall back the dialog itself could be given focus.

comment:2 Changed 12 years ago by bill

I thought the "extra" tab stop was on the dialog title and was therefore necessary. If not, then this is related to #4025, #4411, #4413.

comment:3 Changed 12 years ago by ptbrunet

Also see #4025, #4411, #4413.

comment:4 Changed 12 years ago by ptbrunet

oops, meant that last comment for 5134.

comment:5 Changed 12 years ago by Becky Gibson

Yes, the goal is that in 1.1 focus will go to the first item in the dialog. Thus, this ticket depends upon on #4413

comment:6 Changed 12 years ago by Becky Gibson

Component: DijitAccessibility
Owner: set to Becky Gibson

comment:7 Changed 11 years ago by Becky Gibson

Resolution: fixed
Status: newclosed

fixed in [12144]. Now the first focusable item in the dialog gets focus when it is opened. If there is no focusable item the dialog container itself gets focus (rather than the title bar).

Note: See TracTickets for help on using tickets.