Accessibility: reading and color blind modes, audit fixes, calendar window

- Accessibility panel: the switch knob stays in its track; the panel
  follows its button in the Tab order and opens on its first switch.
- Reading mode is the page as plain text: one column, no colors,
  pictures, cards or motion; descriptions stay in place.
- Color blind mode (protanopia, deuteranopia, tritanopia, monochrome):
  palette swaps chosen by simulation, applied to code, data and CSS
  colors on public pages only. The newsletter uses the stored palette.
- Audit fixes: focus not hidden by the header, focus on page change
  and in-page jumps, focus return for the menu, day list and people
  details, labelled admin fields and dialogs, keyboard map tiles,
  scrollable tables, and more.
- Calendar asks /events for its six weeks only (?from=&to=); carousels
  take their 12 most recent past events (?past=12).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-10-02 14:33:09 -05:00
parent d067c02d33
commit b816203c0c
45 changed files with 760 additions and 208 deletions

View file

@ -93,7 +93,7 @@ export default function NextEventCountdown({
<p className="text-xs font-bold uppercase tracking-[0.25em]" style={{ color: accentText(accent) }}>
{live ? 'Happening now' : 'Next up'}
</p>
<p className="mt-1 truncate font-display text-2xl font-bold text-ink md:text-3xl">
<p className="mt-1 line-clamp-2 break-words font-display text-2xl font-bold text-ink md:text-3xl">
{event.title}
</p>
<p className="mt-1 text-sm text-muted">
@ -104,7 +104,9 @@ export default function NextEventCountdown({
</div>
{!live && (
<div className="flex gap-2 md:gap-3" role="timer" aria-live="off">
// Out of the link's name, which would otherwise change every
// second; the date above says when.
<div className="flex gap-2 md:gap-3" aria-hidden="true">
{parts.map(([label, value]) => (
<div
key={label}