Skip to content

fix(material/radio): avoid making the touch target a focus stop#33547

Closed
crisbeto wants to merge 0 commit into
angular:mainfrom
crisbeto:radio-touch-target-click
Closed

fix(material/radio): avoid making the touch target a focus stop#33547
crisbeto wants to merge 0 commit into
angular:mainfrom
crisbeto:radio-touch-target-click

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Some screen readers detect which elements have click listeners and make them a focus stop, even if they're aria-hidden. These changes rework the radio button so it doesn't have to rely on a click listener on the touch target by wrapping the input in the label instead.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jul 17, 2026
@pullapprove
pullapprove Bot requested review from ok7sai and tjshiu July 17, 2026 07:05

@ok7sai ok7sai left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the native label/input setup

@crisbeto crisbeto closed this Jul 17, 2026
@crisbeto
crisbeto force-pushed the radio-touch-target-click branch from 08f6754 to cf049ef Compare July 17, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: material/radio target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants