Skip to content

Updates markup for custom checkbox and radio options for accessibility#16080

Merged
brandonkelly merged 8 commits into5.6from
a11y/custom-checkbox-options
Nov 15, 2024
Merged

Updates markup for custom checkbox and radio options for accessibility#16080
brandonkelly merged 8 commits into5.6from
a11y/custom-checkbox-options

Conversation

@gcamacho079
Copy link
Copy Markdown
Contributor

Description

This PR adds a visible label to the [type="text"] input inside custom radio and checkbox options. This resolves issues caused by a lack of accessible names for the radio/checkbox inputs when no text value is filled and ensures the accessible name of the text input always matches the visible label.

@gcamacho079 gcamacho079 added the accessibility 👤 features related to accessibility label Nov 11, 2024
@brandonkelly brandonkelly changed the base branch from 5.5 to 5.6 November 15, 2024 16:09
@brandonkelly brandonkelly merged commit d6976af into 5.6 Nov 15, 2024
@brandonkelly brandonkelly deleted the a11y/custom-checkbox-options branch November 15, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility 👤 features related to accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants