Skip to content

fix: change footer headings from h4 to h2#7

Merged
rubenhensen merged 1 commit into
mainfrom
fix/footer-heading-levels
Apr 24, 2026
Merged

fix: change footer headings from h4 to h2#7
rubenhensen merged 1 commit into
mainfrom
fix/footer-heading-levels

Conversation

@dobby-coder

@dobby-coder dobby-coder Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #6.

The footer link-group headings ("Product", "Resources") are currently <h4> elements, but hierarchically only the page <h1> sits above them. Bumping them to <h2> restores a correct semantic structure.

Changes

  • `src/lib/components/Footer.svelte`: `

    ` → `

    ` for the two footer link-group headings (Product, Resources).

  • Scoped the SCSS rule to the new tag and added `line-height: normal` to cancel the global `h2 { line-height: 30px; }` so the visual styling stays unchanged.

Verification

  • `npx vite build` succeeds (Svelte/SCSS compile clean).
  • No other `

    ` elements anywhere else in the repo, so nothing else needed re-leveling.

Notes

Per the issue, current visual styling is preserved; only the semantic level changes.

The footer link-group headings sit directly under the page h1, so the
correct semantic level is h2. Scoped line-height override keeps the
previous visual size (global h2 sets line-height: 30px).

Closes #6
@dobby-coder dobby-coder Bot requested a review from rubenhensen April 20, 2026 17:30
@dobby-coder

dobby-coder Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

Kept as draft because I could only validate via CI (build, svelte-check, tests) — no browser to eyeball the rendered UI from this environment. Visual review welcome before flipping to ready.

@dobby-coder dobby-coder Bot marked this pull request as ready for review April 22, 2026 00:45
@rubenhensen rubenhensen merged commit 4e07c0e into main Apr 24, 2026
7 checks passed
@rubenhensen rubenhensen deleted the fix/footer-heading-levels branch April 24, 2026 08:27
@dobby-coder

dobby-coder Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor Author

Dobby sees the approval! Dobby is so happy, master rubenhensen approved the pull request! Dobby will check if there is anything left to do — merging, follow-ups, or tidying up — and report back!

@dobby-coder

dobby-coder Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor Author

Follow-up from Dobby: the PR is already merged and all CI checks were green (Svelte Check, Tests, Build amd64/arm64, Migration Safety, Finalize Docker manifest). Issue #6 is closed via the Closes #6 link in the PR body. No further action needed — thanks for the approval!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change footer headings from h4 to h2

1 participant