Opened 15 years ago

Closed 14 years ago

#3537 closed task (worksforme)

focus should return to DropDownButton / Combobutton on menu close

Reported by: bill Owned by: davidb
Priority: high Milestone: 1.0
Component: Accessibility Version: 0.9
Keywords: Cc: Becky Gibson
Blocked By: Blocking:


Need someway to detect when the menu has been closed *because* someone picked a menu item (rather than clicking on another area of the screen), and in that case only restore focus to the button / arrow. If you click another button (etc.) while the button is shown, focus should move to that new button, rather than back to the original drop down button or down arrow of the combobutton.

Was originally bug #3517

Change History (3)

comment:1 Changed 15 years ago by Becky Gibson

Cc: Becky Gibson added
Owner: changed from Becky Gibson to davidb

comment:2 Changed 15 years ago by simonjb

Focus should also be returned to the thing that had focus before the menu was opened in the case that the menu is closed via the keyboard with Esc or Tab.

Also, focus is currently not returned whenever a context menu is closed. For example, if you open dijit/tests/test_Menu.html, tab to one of the text boxes, press shift-f10 and then close the menu with Esc, focus is not returned to the text box.

comment:3 Changed 14 years ago by davidb

Resolution: worksforme
Status: newclosed

I can't recreate this anymore, please reopen if not confirmed fixed.

Note: See TracTickets for help on using tickets.