This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Guide be made explicitly pointing out ShadyDOM's deviating from how Shadow DOM handles the traversal of aria-annotated children & the children's behavior; along with how to leverage WCT to test & verify its behavior of such things compared to native Shadow DOM #1261
Open
Description
The Shadow DOM spec has traditionally outlined that user agents with assistive technology traverse & evaluate the document tree as rendered, but @cdata has verified that isn't the case w/ ShadyDOM
Accordingly, there seems to be value of a guide added to the guides section already outlined as an ongoing thing to have a guide that provides & claries the following things that would be especially useful in BDD environments that would make extensive use of Web Component Tester [WCT]:
- Show specs that show what would be normal behavior w/ the
shadow
global Polymer setting vs. theshadyDOM
(default) settings of Polymer regarding this. - Such specs & accompanying copy would simultaneously implicitly debunk a common misconception that Web components don't play nicely with assistive technologies.
- Demonstrate pragmatic organization of the specs of a Web component that accounts for its usage within an environment that uses either
shady
(default) orshadow
be set as a global setting (with something likecontext
, nesteddescribe
blocks, etc). Some often don't discover this, & this would reinforce its importance of a comprehensive test suite for components.