# Ensure Logical Heading Order in HTML Structure

Verify that heading levels (`<h1>`-`<h6>`) are used in sequential order without skipping levels to improve accessibility and content navigation for screen readers.

**Canonical URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-heading-order-b73c01a70129

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-thedaviddias-front-end-checklist-skills-heading-order-b73c01a70129

**Markdown URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-heading-order-b73c01a70129.md

**Instructions download URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-heading-order-b73c01a70129/download

**Category:** Content & Editorial

**Source URL:** https://github.com/thedaviddias/Front-End-Checklist/blob/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/heading-order/SKILL.md

**Source commit:** e8d14d049010e2ce25afcd5e8609dfcbbe63e47e

**Listing approved at:** 2026-11-23

**Created at:** 2026-11-22T16:22:01.000000Z

**Updated at:** 2026-11-23T04:55:09.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Ensure the document structure is logical and hierarchical. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

### When to use it

- Reviewing HTML structure for accessibility compliance
- Auditing web pages for screen reader compatibility
- Improving content organization for better user experience

## Skill instructions

---
name: heading-order
description: "Use when reviewing rendered HTML, interactive components, or design-system patterns related to Maintain logical heading order. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant."
metadata:
  category: accessibility
  priority: medium
  difficulty: beginner
  estimatedTime: "5"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/accessibility/heading-order
---

# 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 <h2> follows an <h1>).

## Fix

Adjust the heading levels to ensure a correct hierarchy (e.g., change an <h3> to an <h2> if it follows an <h1>).

## Explain

Explain how a consistent heading hierarchy aids navigation for screen reader users who rely on heading lists to understand page layout.

## Code Review

Review the rendered markup and interactive states that affect Maintain logical heading order. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/accessibility/heading-order

