Page MenuHomePhabricator

PopupButtonWidget should probably open when focused and should close when blur
Closed, DuplicatePublic

Description

I'm not 100% sure on this one just yet.. Auto opening on focus is usually associated with a hover action, perhaps we need active opening with space/enter keyboard action. Requires a bit more looking into the ARIA spec.

Event Timeline

TheDJ raised the priority of this task from to Needs Triage.
TheDJ updated the task description. (Show Details)
TheDJ added a project: OOUI.
TheDJ subscribed.
Jdforrester-WMF set Security to None.

Popups appearing on hover (tooltips) and popups appearing after click (…popups?) are distinct use-cases, currently we abuse PopupButtonWidget for both. For example, the FieldLayout help icon really should have a tooltip rather than popup (and in fact it does in PHP OOUI, but not in JS).