fix(web): landing page heading structure #2883
Open
+9
−6
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.
This PR fixes the heading structure of the pages to be semantically and hierarchly accurate. I can see the idea was probably to use the document outline algorithm (h1s separated between sections), but this particular feature was never fully adopted by user agents and assistive technologies.
Having a well-structure heading structure helps users of assistive technologies to navigate the page with shortcuts and structural navigation, as well as helps with SEO and AI to better index the content and its relationships.
Summary by cubic
Fixes the landing, components, and templates pages to use a correct heading hierarchy (explicit h2/h3) for better accessibility and SEO. Replaces implicit/visual headings with semantic levels under each page’s main heading.
Written for commit 4fedfde. Summary will update on new commits.