DevTools: Add labeled group to audit checkboxes
Marking the checkbox container as a group role and labeling it meets the following WAI WCAG 2.1 success criteria and allows for screen readers to announce the group label when focusing on a checkbox. 1.3.1 Info and Relationships - Level A https://www.w3.org/WAI/WCAG21/quickref/#info-and-relationships 3.3.2 - Labels or Instructions - Level A https://www.w3.org/WAI/WCAG21/quickref/#labels-or-instructions Screenshot (NVDA Speech Viewer): https://i.imgur.com/ptmRGzu.png Screenshot (Accessibility Tree): https://i.imgur.com/EUTyhTV.png Bug: 963183 Change-Id: Ia801a9a74ca897b6bc94705d72109bd231b00653 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1695853Reviewed-by:Yang Guo <yangguo@chromium.org> Reviewed-by:
Alice Boxhall <aboxhall@chromium.org> Commit-Queue: John Emau <John.Emau@microsoft.com> Cr-Commit-Position: refs/heads/master@{#706228}
Showing
Please register or sign in to comment