Page MenuHomeFreeBSD

Website: Fix HTML validation errors (id in header menu)
ClosedPublic

Authored by vladlen on Sun, Sep 20, 9:37 AM.
Tags
Referenced Files
Unknown Object (File)
Sat, Sep 26, 4:18 PM
Unknown Object (File)
Sat, Sep 26, 6:20 AM
Unknown Object (File)
Sat, Sep 26, 6:19 AM
Unknown Object (File)
Sat, Sep 26, 6:19 AM
Unknown Object (File)
Thu, Sep 24, 3:37 AM
Unknown Object (File)
Wed, Sep 23, 3:40 AM
Unknown Object (File)
Wed, Sep 23, 3:38 AM
Unknown Object (File)
Wed, Sep 23, 3:31 AM
Subscribers
None

Details

Summary

Problem: ids like documentation, download, support, about
in the top menu collide with the same ids used inside documents.
This breaks HTML validation (duplicate ids) and the associated
<label for=...> behaviour.

Fix: rename them the same way footer.html already does — prefix
with the section name, e.g. header-documentation-title.

Note: id="name" is left as is. This means [[name]] anchors are
implicitly unavailable on the site, since "name" is already taken
by the top menu. If such an anchor is ever needed, either the
header id or the document anchor must be renamed.

Diff Detail

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