heading-order
Installation
SKILL.md
Maintain logical heading order
A logical heading structure allows screen reader users to navigate the page content efficiently and helps all users understand the relationship between different sections.
Quick Reference
- Use heading levels (
<h1>-<h6>) in sequential order - Do not skip heading levels (e.g.,
<h1>followed by<h3>) - Ensure the document structure is logical and hierarchical
Check
Check the heading structure of the page to ensure that heading levels are not skipped (e.g., check that an follows an ).
Fix
Adjust the heading levels to ensure a correct hierarchy (e.g., change an to an if it follows an ).