Re: [w3ctag/design-reviews] Reference Target (Issue #961)

Another issue we realized: Right now, the design for the whole feature is that an attribute specifies the defaults, and another one-off overrides on an attribute by attribute basis. If no default forwarding is specified, no forwarding happens (i.e. the reference resolves to the element itself). However, the pattern where **everything gets delegated to a certain shadow DOM element but some attributes *don't* get forwarded at all** is not supported at all with the id-based syntax. That is also something a selector-based syntax could address, as then `:host` could be a delegation target as well (= no delegation).

----

Also, from conversations with folks, the initial reaction for phrase 1 is "yes, forwarding everything to the same element makes sense, all our use cases are like that", then I remind them about the non-a11y idrefs such as `popovertarget` or `form` they are way less certain…

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/961#issuecomment-2468788538
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/961/2468788538@github.com>

Received on Monday, 11 November 2024 18:26:26 UTC