role=caption must be owned by role=figure or grid or table or treegrid Web Standard

Description

An element with role=caption must be contained in, or owned by, an element with role=figure or role=grid or role=table or role=treegrid

Help

Roles that are part of composite structures like tables or tabs must be owned by the correct parent role. For example, role=cell elements must be owned by a role=row element.

Applicable standards

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

Change history

  • 6.54 Oct 2024 Added.

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

Rule ID: W3cHtml5AriaRequiredParentRoles-caption