Skip to content

Remove aria-required-children for role="tree" #1444

@robpaveza

Description

@robpaveza

Expectation:

<ol role="tree"></ol>

should generate no errors.

Actual: It generates the following error:

aria-required-children: Certain ARIA roles must contain particular children WCAG 1.3.1

Motivation: A tree that has no leaves is still a tree, and therefore role="treeitem" should not be a required child of an element of role="tree".

axe-core version: 3.0.0-alpha1, 3.1.1

Metadata

Metadata

Assignees

Labels

fixBug fixesrulesIssue or false result from an axe-core rulesupport

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions