Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
justindm234 opened this issue May 15, 2025 · 1 comment
Open
2 tasks done

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

justindm234 opened this issue May 15, 2025 · 1 comment
Assignees

Comments

@justindm234
Copy link

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

@tay1orjones
Copy link
Member

@justindm234 The readOnly attribute doesn't apply to non-textual inputs like <input type="radio"/>

screen readers skip disabled content

What screenreader are you testing with - JAWS, VoiceOver, NVDA, Talkback? IIRC voiceover reads disabled elements as "dimmed" in certain cases. Disabled elements can also be accessed with JAWS' virtual cursor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

3 participants