Re: git: 10633eb86b - main - Website: Fix HTML validation errors

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Fri, 02 Oct 2026 09:30:34 UTC

On 2026-10-02 05:22 -04:00 EDT, "Sergio Carlavilla" <carlavilla@freebsd.org> wrote:
> On Fri, 2 Oct 2026 at 11:17, Wolfram Schneider <wosch@freebsd.org> wrote:
>>
>> On Sun, 20 Sept 2026 at 12:26, Vladlen Popolitov <vladlen@freebsd.org> wrote:
>> >
>> > The branch main has been updated by vladlen:
>> >
>> > URL: https://cgit.FreeBSD.org/doc/commit/?id=10633eb86b6396ec3fe8b666f8e250d67398fbec
>> >
>> > commit 10633eb86b6396ec3fe8b666f8e250d67398fbec
>> > Author:     Vladlen Popolitov <vladlen@FreeBSD.org>
>> > AuthorDate: 2026-09-20 10:25:52 +0000
>> > Commit:     Vladlen Popolitov <vladlen@FreeBSD.org>
>> > CommitDate: 2026-09-20 10:25:52 +0000
>> >
>> >     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
>>
>> This change breaks the sub-menu in the header for mobile devices. E.g.
>> if the browser width is less than 1300 pixels: click top left on
>> "About" and the sub-menu will not open anymore due the missing IDs.
>>
>> Last working version on Sep 20th:
>> https://web.archive.org/web/20260920023131/https://www.freebsd.org/
>>
>> Possible solution: a single selector that doesn't depend on the IDs
>> https://reviews.freebsd.org/D60236
>>
>> -Wolfram
>>
>> --
>> Wolfram Schneider <wosch@FreeBSD.org> https://wolfram.schneider.org
>>
> 
> True, I did not check that. Thanks for the fix

I recently discovered Ctrl-Shift-M in Firefox to open a page pretending to be a phone!

Best,
Alex
> 
>