role=tree must contain role=treeitem Web Standard

Description

Elements with role=tree must only contain or own elements with role=treeitem and must not contain elements with other roles.

Applicable standards

  • bc4a75
  • 5.2.6
  • (Success Criteria: 1.3.1 level A)
  • (Success Criteria: 1.3.1 level A)
  • (Success Criteria: 1.3.1 level A)
  • (Success Criteria: 1.3.1 level A)
  • HTML

Note: Section 508 Refresh (2017) checkpoints are equivalent to WCAG 2.0 level A and level AA checkpoints. EN 301 549 checkpoints are equivalent to WCAG 2.1 level A and level AA checkpoints.

Change history

  • 6.47 Dec 2022 Now checks that only allowed child roles are present.
  • 5.37 May 2020 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: W3cHtml5AriaRequiredChildRole-tree