[Rule RSRCH]: Group/Fieldset "XXX" has a duplicate name to another group - nested group behaviour #1859
Labels
engine
Issues in the accessibility-checker-engine component
priority-2 (med)
T61
user-reported
Issues identified outside of the core team
Rule description
We have a UI with nested groups, the inner groups have unique labels within their parent group but they could be duplicated across groups.
Here is a simplified example of what I mean:
The equal access checker will raise this as a violation as there are two groups with the label "inner 1".
If I use NVDA or similar it announces the group labels as I enter and leave each group.
The W3C spec states that groups can be nested but doesn't mention anything about labelling - https://www.w3.org/TR/wai-aria-1.2/#group.
Do you think the rule should be changed so that duplicates are only considered within the same parent scope?
Relevant requirement(s)
1.3.1 Info and Relationships, 3.3.2 Labels or Instructions
High-level approach and rule scope
No response
Ruleset and failure level
fieldset_label_valid: Groups with nested inputs must have unique accessible name
Violation Group/Fieldset does not have an accessible name
Violation Group/Fieldset "{0}" has a duplicate name to another group
fieldset_label_valid.ts
Failure level
"level": eRulePolicy.VIOLATION,
Different failure level
No response
Failure cases
No response
The text was updated successfully, but these errors were encountered: