refactor: add overview heading to PageContent header#2184
Open
VitorAEltz wants to merge 1 commit into
Open
Conversation
The page title <h1> was unintentionally dropped from the shared PageContent wrapper, leaving ~1,429 documentation pages with no <h1> in their server-rendered HTML (flagged by SEO audit). The title was still computed but never rendered. Restore <h1 id="overview"> so the frontmatter title renders as the page heading (also re-anchors the right-sidebar Overview link).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
[NO-ISSUE]
Changes
Added an
<h1>heading element with id "overview" to the PageContent header component. This heading displays the page title using thetitleprop and is positioned after the action buttons section.The change improves semantic HTML structure by explicitly marking the main page title as a heading element, which benefits accessibility and document outline clarity.
Additional notes
This is a minor structural enhancement to the PageContent component template with no functional impact on existing features.
https://claude.ai/code/session_01NwE1zdBDTwRS68mpoxUnNv