hint icon indicating copy to clipboard operation
hint copied to clipboard

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

Open vidorteg opened this issue 1 year ago • 1 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

vidorteg avatar Apr 09 '24 16:04 vidorteg

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

vidorteg avatar Apr 09 '24 16:04 vidorteg