Skip to content

Fix: callouts should not trigger duplicate section header warnings#52

Merged
dacharyc merged 1 commit intomainfrom
fix/callouts-detected-as-section-headers
Apr 23, 2026
Merged

Fix: callouts should not trigger duplicate section header warnings#52
dacharyc merged 1 commit intomainfrom
fix/callouts-detected-as-section-headers

Conversation

@dacharyc
Copy link
Copy Markdown
Member

Fixes #51

Design systems that use <h> tags for callouts were incorrectly triggering the duplicate section header warnings. Things like admonitions, callouts, or other in-page asides should not be counted as duplicate section headers, so this PR narrows the scope to try to exclude those patterns.

@dacharyc dacharyc merged commit 3e4fd29 into main Apr 23, 2026
2 checks passed
@dacharyc dacharyc deleted the fix/callouts-detected-as-section-headers branch April 23, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Callout headings trigger "section-header-quality: tab headers don't distinguish between variants"

1 participant