Problem: The FreeBSD web pages have a lot of invalid HTML, particularly in: 1. front page http://freebsd.org (ex. error: The element “label” must not appear as a descendant of the “a” element.) 2. ML archives like https://mail-archive.freebsd.org/mail/archive/2026/dev-commits-ports-all/20260706.dev-commits-ports-all.html Here is the yet uncommitted but fully functional HTML validator 'vnu': https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297507 It is distributed by the W3C organization. It should be installed and HTMLs should be fixed and re-validated. I am not expecting this to be done fast and don't know who would do that but this should be done. This would be a great task for an AI assistant, once it is pointed to the relevant CGI scripts and HTMLs. This can probably be done even in one day, but all relevant code should be within reach, hence this is a problem for the WebMeister.
Invalid HTML increases the chance of random malfunction in these pages on the user side.
@webmaster Is there a way that the FreeBSD website can be installed in an isolated VM so that such change can be made there and then deployed to production?
Let me take a look please.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=a8654f311176852b9df7ec5bc2f8d0c175229694 commit a8654f311176852b9df7ec5bc2f8d0c175229694 Author: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> AuthorDate: 2026-09-12 08:00:07 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2026-09-12 08:00:07 +0000 Website: Fix HTML validation errors PR: 297509 website/themes/beastie/assets/styles/main.css | 23 +++++++-- .../beastie/layouts/_partials/site-footer.html | 3 +- .../beastie/layouts/_partials/site-header.html | 60 +++++++++------------- 3 files changed, 46 insertions(+), 40 deletions(-)
Fixed in the main page