Intent to prototype: Popover=hint

501 views
Skip to first unread message

Keith Cirkel

unread,
Jun 3, 2024, 5:50:33 AMJun 3
to dev-pl...@mozilla.org

Summary:

  The Popover API (MDN, OpenUI Explainer) is now part of the HTML standard. It allows developers to create popovers of varying types and also easily trigger them from buttons, without using Javascript.

One very common use case for popovers that isn’t well covered by the existing Popover API is building “tooltips”. The popover=hint proposed spec is designed to assist developers in building tooltips, and other similar use cases.

I intend to prototype this out in Gecko.

Bug:

Specification:

Standards Body:
  WHATWG

Platform coverage:
  all.

Preference:
  dom.popoverhint.enabled

DevTools bug:
 n/a.

Link to standards-positions discussion:

Other browsers:
  Blink: Shipping.


web-platform-tests:

James Teh

unread,
Jun 5, 2024, 3:57:04 AMJun 5
to Keith Cirkel, dev-pl...@mozilla.org
Hi Keith,

Thanks for working on this. If you haven't already, please be sure to take a look at the Accessibility section of the popover=hint explainer. Note that exposure of semantics to accessibility APIs needs to be implemented in order for this to ship, and ideally, it wouldn't be enabled in Nightly without this implemented (or at least not for too long). I'm not sure if the open spec pull request(s) cover accessibility or not, and while the suggestions in the explainer look reasonable to me at a glance, I need to dig a little deeper.

Happy to help with any questions you might have.

Thanks!

Jamie

--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/3e8471fb-0007-41a7-a916-ee26596fa391%40app.fastmail.com.
Reply all
Reply to author
Forward
0 new messages