You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
iamrafan
changed the title
False negative: 'group-labelledby' check in 'checkboxgroup' rule does not fail for a few corner cases
False negative: 'group-labelledby' check in 'checkboxgroup' rule does not fail corner cases
Aug 29, 2018
Exploring this a little bit. I think the problem with group-labelledby is that it doesn't check if there is also a unique label. The following code shouldn't pass:
Screen reader experience for the following corner cases is not as expected, hence the
checkboxgroup
rule should failCase-1: Ungrouped checkboxes with same name and each having aria-labelledby pointing to a common label
Case-2: Ungrouped checkboxes with explicit [label] and each having aria-labelledby pointing one of the checkbox labels
Case-3: Ungrouped checkboxes with implicit [label] and each having aria-labelledby pointing one of the checkbox labels
Link to live demo: https://codepen.io/iamrafan/pen/MqjwOz
AT test results:
The text was updated successfully, but these errors were encountered: