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
Should hovering or clicking invoke the submenu? Should it be developer controllable?
Should keyboard focus open the submenu, or should you have to focus and then press another keyboard button to open the submenu?
Where should keyboard focus go when the submenu is invoked?
Does interesttarget already have answers to all of these questions? If so, how could we ergonomically combine interesttarget with however we hook up the association between a menuitem and submenu?
The text was updated successfully, but these errors were encountered:
Right now this seems to be very much "it depends". There's not a clear consensus across the implementations I've seen.
Selfishly I think the macOS approach is good, because it's what I know. It might also marginally make it easier to spec. Though possibly like with select we can make this UA defined (I would prefer to specify though).
Should hovering or clicking invoke the submenu? Should it be developer controllable?
probably developer controllable. the menuitems of menubars commonly require specific action for a user to invoke them - but menuitems that invoke submenus within a menu popup and often automatically show their related submenus on hover/focus or still require someone to invoke them via purposeful activation (click even).
so mabye click to open is the default, and then authors can change to open on hover/focus to match their current custom implementations.
Should keyboard focus open the submenu, or should you have to focus and then press another keyboard button to open the submenu?
answered this above. it could be either.
Where should keyboard focus go when the submenu is invoked?
if opened via click, then auto-moving to the appropriate menuitem in the submenu can be reasonable.
but would not be desired if the submenu auto opened on focus/hover
Uh oh!
There was an error while loading. Please reload this page.
If a menuitem is hooked up to open a submenu:
Does interesttarget already have answers to all of these questions? If so, how could we ergonomically combine interesttarget with however we hook up the association between a menuitem and submenu?
The text was updated successfully, but these errors were encountered: