Skip to content
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

Chromium/VoiceOver: Chromium misreports radio button numbering on conditional reveals #80

Open
querkmachine opened this issue Mar 27, 2023 · 0 comments

Comments

@querkmachine
Copy link
Member

querkmachine commented Mar 27, 2023

Upstream bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1428008
Date: 2023-03-27
Reported by: @querkmachine
Related to: alphagov/govuk-frontend#2346


Overview

Radio buttons, when announced by VoiceOver, include information about the number of radio buttons in the group and the current radio button's position in the group. For example, it may announce "Email address, radio button, 1 of 3."

When the radio button group includes conditional fields (form fields that are only displayed when the related radio button has been checked), and one of these fields is visible, Chromium browsers start to misreport the number of radio buttons in the group and the placement of the checked radio button.

Expected result

VoiceOver announces "Email address, selected, radio button, 1 of 3." when the first radio button in a group of 3 is checked.

This works as expected in Firefox and Safari.

Actual result

VoiceOver announces "Email address, selected, radio button, 2 of 4." when the first radio button in a group of 3 is checked.

This happens in all Chromium-based browsers tested: Chrome, Edge and Opera.

Related Design System example: https://design-system.service.gov.uk/components/radios/conditional-reveal/index.html
Reduced test case: https://jsfiddle.net/querkmachine/2ecsyd9v/

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

No branches or pull requests

1 participant