Changes between Initial Version and Version 3 of Ticket #16861


Ignore:
Timestamp:
Mar 14, 2013, 9:04:24 PM (8 years ago)
Author:
bill
Comment:

OK, thanks, I'll take a look. Must be related to trying to revert the Menu to it's "passive" state and clearing this.focusedChild even though the menu is in fact still focused.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16861

    • Property Owner set to bill
    • Property Milestone changed from tbd to 1.9
    • Property Component changed from General to Dijit
    • Property Summary changed from Keyboard accessibility (arrow keys and enter) in MenuBar to [regression] MenuBar: keyboard accessibility (arrow keys and enter) issues when repeatedly opening menu
  • Ticket #16861 – Description

    initial v3  
    1 Arrow-key and enter-key accessibility for MenuBar with submenus seems to work inconsistently in the master. It works in 1.8 with visualization quirks. There's a bug in 1.9.0a2 (#16784) which prevents the behavior from being observed.
     1Arrow-key and enter-key accessibility for !MenuBar with submenus seems to work inconsistently in the master. It works in 1.8 with visualization quirks. There's a bug in 1.9.0a2 (#16784) which prevents the behavior from being observed.
    22
    33Attached an example based on the Dijit Menus 1.8 demo, but if you just ran that demo off the master this should happen.
     
    55To reproduce:
    66
    7 1. Click on any MenuBar item (mouse or focus+arrow-key+enter).
     71. Click on any !MenuBar item (mouse or focus+arrow-key+enter).
    88
    9 2. Click on any item of the submenu that opened (mouse or arrow-key+enter). The MenuBar item is no longer highlit.
     92. Click on any item of the submenu that opened (mouse or arrow-key+enter). The !MenuBar item is no longer highlit.
    1010
    11113. Click enter. The submenu will re-open but the MenuBar item won't highlight (you may see a brief flicker of it sort-of-highlighting in the master).
     
    13134. Try to use the arrow-keys to traverse the submenu; in 1.8, this works, but in the master, the items won't highlight and clicking enter won't click them (step 5 for what happens on enter click). You can't use escape to close the submenu.
    1414
    15 5. Click enter again. In the master, the MenuBar item will highlight and the submenu will close. (In 1.9.0a2 this is where the bug happens.)
     155. Click enter again. In the master, the !MenuBar item will highlight and the submenu will close. (In 1.9.0a2 this is where the bug happens.)
    1616
    17 6. Click enter once more. The submenu opens, and you can keyboard traverse its items. If you click a submenu item, the sequencerepeats.
     176. Click enter once more. The submenu opens, and you can keyboard traverse its items. If you click a submenu item, the sequence repeats.