h1 cannot have ancestor with role=button Web Standard

Description

The element h1 must not appear as a descendant of an element with the attribute role=button

Help

Headings are ignored by screen readers, and cannot be used for navigation, when they’re nested inside ARIA roles that make children presentational.

Applicable standards

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

  • 2026.62 Oct 2026 Now fails WCAG 1.3.1.
  • 2026.61 Aug 2026 Added.

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

Rule ID: W3cHtml5AssertNested-role-button-h1