Skip to content

list > group > listitem should not be allowed #3708

@WilcoFiers

Description

@WilcoFiers

As of WAI-ARIA 1.2, groups are no longer allowed in lists. This is soon changing in ACT as well. We should make sure the following fails axe-core:

<div role="list">
  <div role="group">
    <div role="listitem">list item</div>
  </div>
</div>

To fix this, remove group from list and listitem in standards/aria-roles.js, and fix any tests that fail.

Metadata

Metadata

Assignees

Labels

ACT RulesfixBug fixesprA pr has been created for the issuestandardsIssues in the ARIA standards objects (lib/standards)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions