Contact emailsmas...@chromium.org

ExplainerNone

Specification
https://github.com/whatwg/html/pull/9144#issuecomment-2195095228

Summary

This chromestatus represents the following related set of changes, which
were resolved in
https://github.com/whatwg/html/pull/9144#issuecomment-2195095228: 1. add an
imperative way to set invoker relationships between popovers. 2. invoker
relationships create implicit anchor element references.


Blink componentBlink>DOM
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDOM>

Motivation

The popovertarget attribute creates an "invoker" relationship between the
invoking button and the popover. That does several things: - it creates
nested popovers, if the invoking button is inside another popover. - it
modifies the sequential focus navigation order, so that the invoked popover
comes "next" in keyboard focus order. - it sets up aria-details and
aria-expanded relationships between the invoker and the popover. There's
currently no way to do these things via Javascript, and this chromestatus
covers the addition of that functionality. Additionally, the implicit
anchor element concept from anchor positioning (
https://www.w3.org/TR/css-anchor-position-1/#implicit) is meant to be used
by popovers. The original plan was, and still is, to add an `anchor`
attribute or similar, to allow HTML to specify this type of relationship.
But it was resolved in CSSWG/WHATWG to also create an implicit anchor
reference via `popovertarget` and the new imperative API.


Initial public proposalNone

TAG reviewNone

TAG review statusPending

Risks


Interoperability and Compatibility

None


*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

None


Debuggability

None


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?No

Flag name on chrome://flagsNone

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5120638407409664?gate=5070152962670592

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDhOAzR67sP_-V5DgSYoJphymauj4qjcm79mHaFBFQGtCQ%40mail.gmail.com.

Reply via email to