Skip to content

Form-Associated Custom Elements are not Associated to Labels #4085

Closed
@break-stuff

Description

@break-stuff

Product

axe Extension

Product Version

4.58.3

Latest Version

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

Issue Description

Expectation

When using the ElementInternals API, form-associated custom elements should be able to be referenced by <label> elements using the for attribute.

Actual

The extension cited a critical issue saying the element was missing a label.

How to Reproduce

Additional context

The source code for this can be found here - https://codepen.io/break-stuff/pen/qBQPGVb

Metadata

Metadata

Assignees

No one assigned

    Labels

    rule metadataIssues in the rule metadata code (lib/rules)rulesIssue or false result from an axe-core rulestandardsIssues in the ARIA standards objects (lib/standards)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions