Skip to content

[a11y]: TileGroup/RadioTile missing readOnly support #19394

@justindm234

Description

@justindm234

Package

@carbon/react

Browser

No response

Package version

11.82.1

React version

No response

Description

For proper accessibility support, input elements should support both disabled (exists) and readOnly (missing) states, since screen readers skip disabled content

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-tile--selectable

Steps to reproduce

Pass readOnly={true} to a RadioTile component and a readOnly is rendered on its LABEL element, while it should be on its INPUT element.

Suggested Severity

Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    ⏱ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions