You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editor Menubar Example: Fix tabindex management to ensure only the most recently opened menu is in the page tab sequence (Pull #3309)
Fixes bugs where using a combination of keyboard and mouse interactions caused multiple menu items to be in the page Tab sequence.
The following changes ensure that only the most recently opened menu is the only menu item in the page tab sequence regardless of how that menu item was opened or had originally received focus:
* Opening a menu via clicking now correctly updates the tabindex values of the menubar items (instead of the submenu items).
* Opening a menu via hover now correctly updates the tabindex values of the menubar items (instead of updating nothing due to erroneously passing in a menu rather than an ID).
* Opening a menu via Enter, Space, or Arrow Up/Down now updates the tabindex values of the menubar items, since it's possible for the parent menuitem to have received keyboard focus other than through a way that would have already updated the tabindex values (e.g. by pressing on it and dragging off it before releasing).
0 commit comments