redesign 09 — a11y & print sweep (rebuilt on current base) #15
Loading…
Reference in a new issue
No description provided.
Delete branch "redesign/09-a11y-print-v2"
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?
What
Rebuild of the stale #14 — re-implemented from intent directly on the current base (post-#13, incl. cache/CSS-hashing follow-ups). The old branch carried superseded copies of slices 5–8 and conflicted with its base; this one is the slice only.
<main id="main-content" tabindex="-1">; visually hidden until focused.aria-current="page"on the active masthead nav item — tiny inline script (the header is a static include; must survive the wget export). Active styling moved into CSS:#site-nav a[aria-current="page"], so it can't silently drop out of the Tailwind bundle (the old draft relied on a coincidental class usage elsewhere).print:hiddenchrome (header, footer, TOC rail, further reading, progress bar, year headers, back-to-top) verified on the new base; article body prints as flowing text.prefers-reduced-motion: no-preference; smooth scrolling was already gated.post_cover_<slug>on both ends); list-row ↔ title names already existed.Deliberately not in this PR
lang— dropped: the site is English-only.specs/contrast-sweep.mdfor separate review. Headline: slate-500 metadata on blue-50 measures 4.37:1 — below the 4.5:1 AA bar; 8 spots to bump to slate-600.Verification
cargo test --all-features— 32 passed.skip-link,#site-nav a[aria-current='page'],@media print, 4× reduced-motion blocks<body>, landmark target, VT names on hero + article cover)WIP: redesign 09 — a11y & print sweep (rebuilt on current base)to redesign 09 — a11y & print sweep (rebuilt on current base)