Skip to content

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

Open
@vidorteg

Description

@vidorteg

🐞 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions