Page MenuHomeFreeBSD

Fix HTML validation errors in doc site footer
ClosedPublic

Authored by vladlen on Sat, Sep 26, 11:10 AM.
Tags
Referenced Files
F173527256: D60040.id187734.diff
Sat, Sep 26, 3:00 PM
F173527183: D60040.id187744.diff
Sat, Sep 26, 2:59 PM
F173526959: D60040.diff
Sat, Sep 26, 2:56 PM
Subscribers
None

Details

Summary

Documentation pages emit validation errors about skipped heading
levels in the footer: <h1> is followed directly by <h3> for each
column title, which the validator flags on every page.

Apply the same fix already merged for the website in c33d966fc2
("Website: Fix HTML validation errors"):

  • site-footer.html: replace <h3 class="column-title"> with <p class="column-title" id="..."> for the about/documentation/ community/legal columns, and add aria-labelledby on the matching <section> so the titles remain accessible names.
  • footer styles: add margin-bottom, font-weight, line-height, padding-top and padding-bottom to .column-title, restoring what <h3> previously provided via browser defaults.

No visual changes expected — mirrors the website fix.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vladlen created this revision.
This revision is now accepted and ready to land.Sat, Sep 26, 12:41 PM