Fix HTML validation errors in doc site footer
Replace the <h3> column titles with <p class=""column-title""> to stop
validation errors about skipped heading levels on every page, and add
aria-labelledby on each section so the titles are still exposed as
accessible names.
Restore the styling h3 previously received from the browser
(font-weight, line-height, padding) on .column-title so the footer
looks unchanged.
Mirrors the website fix in c33d966fc2.
Reviewed by: carlavilla
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D60040
PR: 297509
Website: Fix HTML validation errors
Remove the <a> wrapper around each <label> in the top-level menu,
which triggered HTML validation error on every documentation page.
Extend the .menu-item a rules to .menu-item-description so the label
keeps the same appearance and the sub-menu hover trigger still works.
Mirrors the website fix in a8654f311.
Reviewed by: carlavilla
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D60039
PR: 297509
doc: fix HTML validation errors
Fix duplicate id and invalid heading levels in TOC
Replace h3 with p.toc-title to fix heading-level validation errors,
rename mobile TOC id to TableOfContentsMobile to avoid duplicate ids,
and restore original h3 sizing via --size-550.
Reviewed by: carlavilla
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D60037
PR: 297509
ports.cgi: enable new responsive design
Implement and enable new design for ports.cgi, based on c9c518d9db
Also, move the submit button next to the input field and the select boxes
a row below. Looks better for some mobile devices (e.g. Android) which
cannot detect a submit by the enter key.
Reviewed by: ziaee
Website: Fix HTML validation errors
Ids like documentation, download, support, about, community in the
top menu collide with the same ids inside documents, breaking
validation and <label for=...>. Match footer.html and prefix them
with the section name (e.g. header-community-title).
Note: id=""name"" is left as is, so [[name]] anchors are implicitly
unavailable on the site.
Reviewed by: carlavilla
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D59857
PR: 297509