Skip to content

Z513: DUPLICATE_HEADING

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Description

Two or more headings in the same document resolve to identical text (ignoring case and whitespace).

Duplicate headings create ambiguous slug anchors (e.g. #section vs #section-1), breaking deep links and confusing document outline navigation.


How to Fix

Rename headings so that every section has a unique, descriptive title.


Suppression

If duplicate headings are required by design, suppress the warning with an inline comment:

<!-- zenzic:ignore:Z513 -->

Reference

See the Finding Codes Index for finding code details.