Re: [WICG/webcomponents] Reference Target: what type should the `referenceTarget` attribute be? (Issue #1093)

alice left a comment (WICG/webcomponents#1093)

I guess I was thinking more about the fact that there is a distinction possible on an element between having and not having an ID (or attributes like `for` or `aria-activedescendant` which take ID values, which I still argue is really a better comparison), which we might want to be able to have here as well.

Authors might find it useful to be able to distinguish between having a `referenceTarget` value of empty string, and not having a reference target (or having a `referenceTarget` value of null, more specifically). They may also find it counter-intuitive to set `referenceTarget` to empty string to have references directed to the host rather than forwarded. (I found it counter-intuitive, but Dan didn't, so I don't know what most web developers would think.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1093#issuecomment-2673036635
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1093/2673036635@github.com>

Received on Friday, 21 February 2025 00:34:06 UTC