-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: Radio Groups / Tab Groups? #4
Comments
Thank you! I don't know yet. I'll take a look and if I don't have any answer I'll forward the question to the AOM group next week. |
In this same vein, I would wonder about the combobox pattern, and in particular <x-combobox>
#shadow-root
<input aria-activedescendant="foo">
</x-combobox>
<x-listbox>
#shadow-root
<x-listitem id="foo"></x-listitem>
<x-listitem id="bar"></x-listitem>
<x-listitem id="baz"></x-listitem>
<x-listbox> ... it's not clear to me how the combobox could reference an individual list item using |
Thanks @nolanlawson! This is a slightly more complex case that also shows some limitations of the current proposal. The cross-root aria delegation allows only a single layer of delegation. so I'm afraid we'd be still be short to resolve connecting the input from For that, we might need bigger work within the AOM's ID reflection, which I consider orthogonal to this current proposal. |
@leobalter may I suggest adding, a note on your proposal around how not all cross-shadow use cases are covered so that contributors understand the scope. |
it makes sense, @gonzalocordero. I'll do it! |
Show other examples
This is now included in the updated explainer, that goes over the 2 proposals delegation and reflection, and should look into how they both combine in some of these more complex use cases. |
Let's merge this issue into #14 as it has some more content discussion, but they end up talking about the same topic. |
How does this proposal affect cases like radio groups or tab groups, which today require users to place all of the related elements in the same root.
If the proposal does not affect those cases, how might it interact with a future proposal which does?
Thank you Leo for putting this proposal together.
The text was updated successfully, but these errors were encountered: