fix(w3c): clear per-page HTML validator findings (S1-S7, F11, F12) #24
Loading…
Reference in a new issue
No description provided.
Delete branch "w3c-html-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements S1–S7 of
specs/w3c-validation.md, plus two new findings (F11, F12) discovered during verification. S8/S9/S10 are deferred to a follow-up.What changed
just svgstorepost-strips<?xml?>/<!DOCTYPE; recipe switched tonpx --yes svgstore-cli(svgstore@3 dropped its bin — the old recipe no longer ran)dots-@-15pt→dots-at-15ptinjson-feed.svg, sprite regeneratedm-logo-animated.svg; every anime.js-targeted id kept (m-logo,border,m-letter,*-start,bg-gradient,bg-stop)<style>in body →#logo-container svgrule instyles/input.cssstyle="view-transition-name: …"xmlns:cc/dct→prefix="cc: … dct: …"machine_datefilter (2020-05-11T05:38:18Z) used in all 3datetime=attrs, +2 unit testsh2"featured work"/"more work" on/showcase;h2"what I do" above index talent cards; portfolio taglineh3→ styledp<footer>→<div>— it contains<header>elements (macro + preview cards) which must not descend fromfooter_posts/blog/dev-2019-08-09-ide-to copy.md→…-copy.md— the space in the slug produced an illegalhref(URL changes from…ide-to%20copyto…ide-to-copy)Verification
cargo test: 48 passed (incl. 2 newmachine_datetests)just validate-html local:/,/blog,/showcase,/portfolio— 0 errors (was 16/8/20/…) ; blog post pages carry only the deferred F8 stray</p>just validate-feed local: VALID; remaining warnings are exactly the deferred F8 ×21 / F9 ×3 / F10 ×1Notes
05fd17d) — its old URL already required%20encoding, so the new slug is strictly an improvement; revert the rename if the URL matters.static/svg/icons-sprite.svgis a stale unreferenced legacy copy (still has the old id) — left untouched; candidate for deletion separately.🪦 Live preview
removed (PR closed)
Revision (
220250c): per review, the visibleh2"what I do" on the index is dropped — the talent-card component's titles are demotedh3→h2instead (fixes the same h1→h3 skip without adding text). The component is shared with/portfolio, where the outline stays valid too (cards become siblings of the "Skills"h2); visuals unchanged since the cards carry their own utility classes and the.article-bodyh2/h3 sizing rules don't apply there. Re-validated:/and/portfoliostill 0 Nu errors.