You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written a proposal for solving the cross-root ARIA problem with a new feature called handles.
Element handles are a way to refer to an element inside a shadow tree from an ID reference attribute like aria-labelledby or for, while preserving shadow DOM encapsulation. Handles can be summed up as "like shadow parts, but for ID references." Much of the API is designed to be parallel to the shadow parts API and follows similar syntax.
The RFC is on the Accessibility Object Model project, but I figured it would be helpful to cross-post it to the Web Components project as well.
This proposal has evolved from element handles to exported IDs. The new proposal is conceptually similar, but uses a boolean exportid attribute to make the element's ID available outside of the shadow DOM, rather than a handle attribute that requires a new name.
I've written a proposal for solving the cross-root ARIA problem with a new feature called handles.
Element handles are a way to refer to an element inside a shadow tree from an ID reference attribute like aria-labelledby or for, while preserving shadow DOM encapsulation. Handles can be summed up as "like shadow parts, but for ID references." Much of the API is designed to be parallel to the shadow parts API and follows similar syntax.
The RFC is on the Accessibility Object Model project, but I figured it would be helpful to cross-post it to the Web Components project as well.
Please add comments on the above PR, rather than in replies to this issue, to keep the discussion in one place. Thanks!
The text was updated successfully, but these errors were encountered: