webhintio / hint

πŸ’‘ A hinting engine for the web

Home Page:https://webhint.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vidorteg opened this issue Β· comments

🐞 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

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