Skip to content

Z516: MULTIPLE_H1_HEADINGS

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Description

A document contains more than one top-level # Heading 1 (or HTML <h1>).

A document should have exactly one main H1 title representing the page subject. Multiple H1 elements break heading hierarchy, document outlines, and accessibility semantics.


How to Fix

Demote secondary top-level headings to ## Heading 2 (H2) or lower levels.


Suppression

Suppress with an inline comment:

<!-- zenzic:ignore:Z516 -->

Reference

See the Finding Codes Index for finding code details.