-
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
Generic proposal (Potentially expand beyond aria?) #13
Comments
Agree on this one! I think there's actually a good number of aria-centric concepts that are not on the A quickly devised list might wonder by |
A really interesting case was brought up recently about |
More examples about this are included in the new explainer. |
Looking through the list in the explainer, it seems pretty straightforward to expand to include IDref attributes like SVG As for |
Conclusion from today's cross-root ARIA F2F: we may be interested in this long-term, but we don't want to over-extend ourselves such that the spec grows too broadly in scope. Something like We could also consider how FACE could interact with this. |
There are more things than just aria attributes that could benefit from delegation. While it is the most important matter to get working, the same method could be used to help with other situations where references need to be given between shadow boundaries.
One use-case in mind is, datalist for an input. If a developer wants to build an input component that is encapsulated but still allow a list of options to pick from, the datalist if provided in a slot needs to be cloned into the shadow boundary to get referenced. Duplicating the list in memory and just being complex since it'll need to also get watched for changes. With delegation support the list can exist external to the shadow boundary (or just as a child of the component) and the ID reference could work as normal.
Example structure:
The text was updated successfully, but these errors were encountered: