Headings should not contain headings Accessibility Checkpoint

Description

Heading should not contain other headings.

Help

h1 to h6 elements should not contain elements with role=heading and vice versa. Remove the nested headings, or replace them with span elements.

Applicable standards

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

Change history

  • 5.36 Jan 2020 Improved detection. Changed rule ID from AccWcag1-3.5.2 to AccHtmlNestedHeading.
  • 4.0 Jun 2010 Only fire in HTML documents.
  • 3.0 Dec 2008 Now triggers WCAG2 issue.
  • 1.0 Feb 2007 Added.

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

Rule ID: AccHtmlNestedHeading