Page MenuHomePhabricator

Use click to to toggle dropdown menus on desktop
Closed, ResolvedPublic

Description

Maybe keep the hover behaviour the same, and just add click support to keep them on as well until clicked out? Alternately just swap to click only for consistency.

Doesn't affect touchscreens one way or another as they generally automatically do this with hover anyway.

Event Timeline

Hover menus like that require skilled mouse pointing/usage, which can prove difficult for people with hand mobility issues or who don't fully master mouse usage yet (eg. young children, people who are new to computers, etc.). Since the hover areas aren't links themselves, you could mitigate that problem by making hover menus stick open if one clicks on the area that triggers the hover menu at the moment. Subsequently trying to click on the links the menu contains, with the menu stuck open, becomes less difficult because accidentally hovering outside no longer closes the menu.

Also probably useful for styling/debugging and stuff, and some of us find random flyouts when moving mouse over things annoying.

Change 530951 had a related patch set uploaded (by Isarra; owner: Isarra):
[mediawiki/skins/Timeless@master] Use click to toggle for desktop dropdown menus

https://gerrit.wikimedia.org/r/530951

Isarra claimed this task.

Change 530951 merged by jenkins-bot:
[mediawiki/skins/Timeless@master] Use click to toggle for desktop dropdown menus

https://gerrit.wikimedia.org/r/530951