The accessibility test falsely fails because the shadowDom cannot be accessed #4121
Closed
1 task done
Labels
ungroomed
Ticket needs a maintainer to prioritize and label
Product
axe-core
Product Version
4.6.3
Latest Version
Issue Description
Expectation
The test is expected to pass since the child
li
is directly in the parentol
Actual
The test fails stating that the structure is not accessible since
li
should be a direct child ofol
How to Reproduce
<ol><slot></slot></ol>
as a base tag with a default slot as direct child<li>my child component</li>
as base tag<parent><child>one</child><child>two</child></parent>
await expect(el).to.be.accessible();
The text was updated successfully, but these errors were encountered: