WebAIM - Web Accessibility In Mind

E-mail List Archives

Aria-describedby for entire checkbox grouping?

for

From: Alex Gonzalez
Date: May 10, 2022 5:50PM


Hello,

I was attempting to do something similar to this example from Gov
UK's website:
https://design-system.service.gov.uk/components/checkboxes/default/index.html

You'll notice they have an aria-describedby describing the entire fieldset
for the checkbox group with "Check all that apply". However, I noticed that
in both NVDA and Voice Over, the "Check all that apply" is not read when I
focus the checkbox input elements.

I was wondering if anyone knows a way to correctly get the screen reader to
describe the checkbox input(s) with "Check all that apply" ?

--
Alex Gonzalez (he/him) Software Engineer
Accessibility Advocate codeforamerica.org