Page MenuHomeFreeBSD

Fix HTML validation errors in docs site header - menu ids
ClosedPublic

Authored by vladlen on Sun, Sep 27, 12:53 PM.

Details

Summary

Problem

Ids like about, download, documentation and community in the
documentation top menu collide with the same ids inside documents
(e.g. section anchors), breaking W3C validation and <label for=...>
associations.

This is the same issue fixed for the website header in 10633eb
(D59857).

Changes

In documentation/themes/beastie/layouts/_partials/site-header.html
and trademarks.html prefix the checkbox ids and their <label for=...>
attributes with "header-", matching the fix already applied to
the website header (e.g. header-community-title).

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.Sun, Sep 27, 2:54 PM