Skip to content

[Accessibility] [Toggle] Form control with "switch" role has no associated label #2696

Open
@eduardmarcinco

Description

@eduardmarcinco

Detailed description

Describe in detail the issue you're having.

Accessibility checker complains about a violation in toggle component.

Is this a feature request (new component, new icon), a bug, or a general issue?

Accessibility violation.

Is this issue related to a specific component?

Toggle.

What version of the Carbon Design System are you using?

"carbon-components-angular": "5.14.10"

Steps to reproduce the issue

Violation can be seen in storybook.

https://angular.carbondesignsystem.com/iframe.html?args=&id=components-toggle--basic&viewMode=story

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions