Skip to content

Make the score gauge valid HTML inside the home page preview - #17

Merged
vishnuatgit merged 1 commit into
mainfrom
valid-html
Nov 10, 2026
Merged

vishnuatgit merged 1 commit into
mainfrom
valid-html

Conversation

@vishnuatgit

Copy link
Copy Markdown
Owner

The W3C checker flagged a div (the score gauge) inside a span on the home page. The gauge macro now renders a span with display: block, so the layout is unchanged and the markup is valid everywhere the gauge is used. 332 tests pass. Note: the checker still reports pathLength on the gauge circles; that is valid SVG 2 (the checker uses SVG 1.1 rules) and is kept because the animation needs it.

@vishnuatgit
vishnuatgit merged commit a5af017 into main Nov 10, 2026
5 checks passed
@vishnuatgit
vishnuatgit deleted the valid-html branch November 10, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant