Page MenuHomePhabricator

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


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 created this task.Jan 27 2015, 10:49 PM
TheDJ raised the priority of this task from to Needs Triage.
TheDJ updated the task description. (Show Details)
TheDJ added a project: OOUI.
TheDJ added a subscriber: TheDJ.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 27 2015, 10:49 PM
Jdforrester-WMF triaged this task as Medium priority.Jan 28 2015, 2:05 AM
Jdforrester-WMF set Security to None.
TheDJ updated the task description. (Show Details)Jan 28 2015, 6:01 PM

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).

Related (duplicate?): T88630