leobalter / cross-root-aria-delegation

Explainer for the Cross-root ARIA delegation proposal
https://leobalter.github.io/cross-root-aria-delegation/
25 stars 3 forks source link

Add SVG `<use>` and `@font-face` as other use cases #26

Closed nolanlawson closed 1 year ago

nolanlawson commented 1 year ago

I recently realized that SVG <use> href references cannot cross shadow boundaries: https://github.com/WICG/webcomponents/issues/772

Additionally, @font-face's font-family cannot be used across shadow boundaries either: https://robdodson.me/posts/at-font-face-doesnt-work-in-shadow-dom/ (Ahis post discusses the fact that it doesn't even work within the same shadow root, but that's a browser bug. In any case, it can't be referenced across shadow roots.)

I think it's worth calling out any cross-root use cases we can think of, just to consider if we can solve those at the same time.