By Russ Weakley:

How does the Shadow DOM appear in the accessibility tree?

Browsers flatten the shadow tree when building the accessibility tree. Flattening removes the accessibility boundary of the shadow root and exposes the internal nodes as if they were normal children in the accessibility tree, not the DOM tree.

#HTML #WebDev #Accessibility

maxdesign.com.au/articles/the-…