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

[Bug] axe-core reports "same id ...for control" even though they are isolated by a shadow-root #5827

Open
vidorteg opened this issue Apr 9, 2024 · 1 comment
Labels

Comments

@vidorteg
Copy link
Member

vidorteg commented Apr 9, 2024

🐞 Bug report

Description

The current version of axe-core in webhint reports "same id ...for control" even though they are isolated by a shadow-root.

Details

  • Create two components that have an input id = control
  • Create a wrapper component an attach two instances of the input control via a shadow-root

Expected:
No issue should be reported as the inputs are isolated through the shadow-dom

Actual:
Error is shown
image

@vidorteg
Copy link
Member Author

vidorteg commented Apr 9, 2024

Seems the latest axe-core version handles this case so updating the version in webhint might fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant