Ticket #5133 (closed defect: fixed)

Opened 13 months ago

Last modified 10 months ago

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

Reported by: ptbrunet Owned by: becky
Priority: normal Milestone: 1.1
Component: Accessibility Version: 0.9
Severity: normal Keywords:
Cc: brunet@…

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

Changed 13 months 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.

Changed 13 months 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.

Changed 13 months ago by ptbrunet

Also see #4025, #4411, #4413.

Changed 13 months ago by ptbrunet

oops, meant that last comment for 5134.

Changed 13 months ago by becky

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

Changed 13 months ago by becky

  • owner set to becky
  • component changed from Dijit to Accessibility

Changed 10 months ago by becky

  • status changed from new to closed
  • resolution set to fixed

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.