Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The accessibility test falsely fails because the shadowDom cannot be accessed #4121

Closed
1 task done
mugishajk opened this issue Aug 8, 2023 · 0 comments
Closed
1 task done
Labels
ungroomed Ticket needs a maintainer to prioritize and label

Comments

@mugishajk
Copy link

Product

axe-core

Product Version

4.6.3

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

The test is expected to pass since the child li is directly in the parent ol

Actual

The test fails stating that the structure is not accessible since li should be a direct child of ol

How to Reproduce

  • make a parent component with <ol><slot></slot></ol> as a base tag with a default slot as direct child
  • make a child component with <li>my child component</li> as base tag
  • run the accessibility tests on the composed component <parent><child>one</child><child>two</child></parent>
    await expect(el).to.be.accessible();
@mugishajk mugishajk added the ungroomed Ticket needs a maintainer to prioritize and label label Aug 8, 2023
@mugishajk mugishajk closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ungroomed Ticket needs a maintainer to prioritize and label
Projects
None yet
Development

No branches or pull requests

1 participant