Why does heading hierarchy matter for accessibility?
Heading hierarchy is critical for screen reader users who navigate pages by jumping between headings. WCAG 1.3.1 (Info and Relationships) requires that heading levels convey the document structure programmatically. When headings skip levels (e.g., jumping from h1 to h3), assistive technology users lose context about how content is organized, making the page harder to understand and navigate.