Bug 1919102 Comment 10 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

MDN docs for this can be tracked in https://github.com/mdn/content/issues/38402

Compatibility data testing for FF137 showed we implement these interfaces in this release. Is this correct/the full set? I've submitted a PR for the compatibility data to be moved to FF137 

api.Element.ariaActiveDescendantElement
api.Element.ariaControlsElements
api.Element.ariaDescribedByElements
api.Element.ariaDetailsElements
api.Element.ariaErrorMessageElements
api.Element.ariaFlowToElements
api.Element.ariaLabelledByElements
api.Element.ariaOwnsElements
api.ElementInternals.ariaActiveDescendantElement
api.ElementInternals.ariaControlsElements
api.ElementInternals.ariaDescribedByElements
api.ElementInternals.ariaDetailsElements
api.ElementInternals.ariaErrorMessageElements
api.ElementInternals.ariaFlowToElements
api.ElementInternals.ariaLabelledByElements
api.ElementInternals.ariaOwnsElements
MDN docs for this can be tracked in https://github.com/mdn/content/issues/38402

1. Compatibility data testing for FF137 showed we implement these interfaces in this release. Is this correct/the full set? I've submitted a PR for the compatibility data to be moved to FF137 

api.Element.ariaActiveDescendantElement
api.Element.ariaControlsElements
api.Element.ariaDescribedByElements
api.Element.ariaDetailsElements
api.Element.ariaErrorMessageElements
api.Element.ariaFlowToElements
api.Element.ariaLabelledByElements
api.Element.ariaOwnsElements
api.ElementInternals.ariaActiveDescendantElement
api.ElementInternals.ariaControlsElements
api.ElementInternals.ariaDescribedByElements
api.ElementInternals.ariaDetailsElements
api.ElementInternals.ariaErrorMessageElements
api.ElementInternals.ariaFlowToElements
api.ElementInternals.ariaLabelledByElements
api.ElementInternals.ariaOwnsElements

2. Do any of these work across shadow boundaries? In particular ariaOwnsElements - see https://github.com/w3c/aria/issues/2266
MDN docs for this can be tracked in https://github.com/mdn/content/issues/38402

1. Compatibility data testing for FF137 showed we implement these interfaces in this release. Is this correct/the full set? I've submitted a PR for the compatibility data to be moved to FF137 

api.Element.ariaActiveDescendantElement
api.Element.ariaControlsElements
api.Element.ariaDescribedByElements
api.Element.ariaDetailsElements
api.Element.ariaErrorMessageElements
api.Element.ariaFlowToElements
api.Element.ariaLabelledByElements
api.Element.ariaOwnsElements
api.ElementInternals.ariaActiveDescendantElement
api.ElementInternals.ariaControlsElements
api.ElementInternals.ariaDescribedByElements
api.ElementInternals.ariaDetailsElements
api.ElementInternals.ariaErrorMessageElements
api.ElementInternals.ariaFlowToElements
api.ElementInternals.ariaLabelledByElements
api.ElementInternals.ariaOwnsElements

2. Do any of these work across shadow boundaries?
   - In particular `ariaOwnsElements` looks like it shouldn't - see https://github.com/w3c/aria/issues/2266
   - When I declare `aria-labelledby` with a label outside of the DOM that isn't found when I log `ariaLabelledByElements` within the shadow dom:
     ```html
     <span id="label_1">Street name</span>
     <div id="host">
       <template shadowrootmode="open">
         <input aria-labelledby="label_1 label_2" />
         <span id="label_2">(just the name, no "Street" or "Road" or "Place")</span>
       </template>
     </div>
     ```
MDN docs for this can be tracked in https://github.com/mdn/content/issues/38402

1. Compatibility data testing for FF137 showed we implement these interfaces in this release. Is this correct/the full set? I've submitted a PR for the compatibility data to be moved to FF137 

api.Element.ariaActiveDescendantElement
api.Element.ariaControlsElements
api.Element.ariaDescribedByElements
api.Element.ariaDetailsElements
api.Element.ariaErrorMessageElements
api.Element.ariaFlowToElements
api.Element.ariaLabelledByElements
api.Element.ariaOwnsElements
api.ElementInternals.ariaActiveDescendantElement
api.ElementInternals.ariaControlsElements
api.ElementInternals.ariaDescribedByElements
api.ElementInternals.ariaDetailsElements
api.ElementInternals.ariaErrorMessageElements
api.ElementInternals.ariaFlowToElements
api.ElementInternals.ariaLabelledByElements
api.ElementInternals.ariaOwnsElements

2. Do any of these work across shadow boundaries?
   - In particular `ariaOwnsElements` looks like it shouldn't - see https://github.com/w3c/aria/issues/2266
   - When I declare `aria-labelledby` with a label outside of the DOM that isn't found when I log `ariaLabelledByElements` within the shadow dom:
     ```html
     <span id="label_1">Street name</span>
     <div id="host">
       <template shadowrootmode="open">
         <input aria-labelledby="label_1 label_2" />
         <span id="label_2">(just the name, no "Street" or "Road" or "Place")</span>
       </template>
     </div>
     ```
   So my assumption is that you can't reference any elements in the other scope - i.e. you couldn't have a dom element set a shadow dom element with `ariaActiveDescendantElement`. But if you assign the DOM element, move it to the Shadow DOM and back, then it will remain linked. Right?

Back to Bug 1919102 Comment 10