Skip to content

[tooltip] Bikeshed the name for a popovertargetaction value to hover/focus trigger #767

Description

@mfreed7

See this discussion, but the current proposal is to do "hover triggering" via a new value for the popovertargetaction attribute:

<button popovertarget=foo popovertargetaction=hover>
  Hover me!
</button>
<div popover id=foo> Popover </div>

However, "hover" triggering doesn't tell the whole story, since keyboard users need focus to trigger the popover, and touch users need long press to trigger it. So the question is: what should this value be called?

Here are some ideas I've heard, please feel free to add more:

  • popovertargetaction=hover
  • popovertargetaction=over
  • popovertargetaction=active
  • popovertargetaction=interest
  • {your idea here}

Metadata

Metadata

Assignees

No one assigned

    Labels

    agenda+Use this label if you'd like the topic to be added to the meeting agendacommand-invokerspopoverThe Popover API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions