@gurupanguji

Technical Specification: Heading Hierarchy Audit & Breadcrumb Implementation (Issue #212)

Overview

This specification addresses Issue #212, which requires a clean h1 heading hierarchy across the site and semantic breadcrumbs for deeper navigation, focusing specifically on review sub-pages.

Goals

  1. Ensure exactly one h1 per page. (Audit is complete; all layouts comply).
  2. Fix any heading order regressions in archive templates or review subpages.
  3. Implement semantic <nav aria-label="Breadcrumb"> logic on deeper content (reviews).

Non-Goals

  1. Refactoring the homepage structure.
  2. Adding breadcrumbs to standalone blog posts (the focus is on “review and sub-pages”).

Technical Architecture

1. Heading Regressions Fix

2. Semantic Breadcrumbs Component

3. Breadcrumb Injection Locations

Testing Strategy

  1. Run bundle exec jekyll build to ensure the site builds correctly.
  2. Use grep or an HTML validator to confirm exactly one h1 per target page and no skipped heading levels (e.g., no <h4> under <h2>).
  3. Visually confirm breadcrumb rendering on the local development server (or rely on HTML structure).