- From: Alice <notifications@github.com>
- Date: Tue, 10 Dec 2024 15:06:41 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 December 2024 23:06:44 UTC
Another question related to this and to #1071: what should happen in this case? ```html <input id="input"> <fancy-listbox id="listbox"> <template shadowrootmode="open" shadowrootreferencetarget="BAD_ID" > <div id="real-listbox" role="listbox"> <div id="option-1" role="option">Option 1</div> <div id="option-2" role="option">Option 2</div> </div> </template> </fancy-listbox> ``` ``` input.ariaControlsElements = [ listbox ]; console.log(input.ariaControlsElements); // what does this log? ``` Should it log the `fancy-listbox`, even though the reference target is invalid? Or should it log an empty list, _because_ the reference target is invalid? -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1089#issuecomment-2533164216 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1089/2533164216@github.com>
Received on Tuesday, 10 December 2024 23:06:44 UTC