Accessibility: reader view and full palette swaps; version v1.12.1-accessibility

- Reading mode is now a reader view (ReaderView.tsx): the page renders
  hidden and its headings, paragraphs, links and described pictures
  are written out in one column, with no header, backdrop or footer.
- Color blind modes swap all three color families (teal, green,
  amber); palette hexes in components and CSS are now
  var(--pal-<family>-<shade>) so the modes reach them.
- CLAUDE.md and docs/updating-data-in-code.md describe both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-10-03 16:10:57 -05:00
parent 420a8058b4
commit de17da7dc8
19 changed files with 507 additions and 192 deletions

View file

@ -24,7 +24,7 @@ const PAGE = sitePage("/privacy");
'privacy', in Admin → Forms → Data requests.
═══════════════════════════════════════════════════════════════ */
const LAST_UPDATED = "September 30, 2026";
const LAST_UPDATED = "October 3, 2026";
const link = "underline underline-offset-2 text-link";
@ -137,11 +137,28 @@ const PARTS: LegalPart[] = [
id: "cookies",
heading: "Cookies and browser storage",
body: [
"This site doesn't use advertising or tracking cookies, and doesn't use Google Analytics. To see which pages are read, we use Plausible Analytics, which we host ourselves on our own server: it sets no cookies, doesn't follow you across sites, and keeps no personal information, only counts of visits to each page; nothing from it is shared or sold. The site also keeps a few small things in your own browser so it works the way you left it:",
<>
This site doesn't use advertising or tracking cookies, and doesn't use Google Analytics. To see which
pages are read, we use{" "}
<a href="https://plausible.io" className="text-link underline underline-offset-2">
Plausible Analytics
</a>
, which we host ourselves on our own server using its free, open-source{" "}
<a
href="https://github.com/plausible/community-edition/"
className="text-link underline underline-offset-2"
>
Community Edition
</a>
: it sets no cookies, doesn't follow you across sites, and keeps no personal information, only counts
of visits to each page; nothing from it is shared or sold. The site also keeps a few small things in
your own browser so it works the way you left it:
</>,
],
list: [
"That you closed the announcement banner or the privacy notice.",
"Whether you chose the light or dark look.",
"Your accessibility choices: the dyslexia-friendly font, reading mode and color blind mode.",
"For staff who sign in: a sign-in cookie that keeps you signed in, and a short-lived one used while signing in with Google.",
],
after: [