Accessibility, event photo and analytics (v1.12.0-accessibility) #25

Merged
ngu-git-admin merged 3 commits from accessibility into main 2026-10-03 09:03:20 +01:00

Accessibility

  • Accessibility panel: switch knobs stay in their 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; picture descriptions stay in place.
  • Color blind mode (protanopia, deuteranopia, tritanopia, monochrome): palette swaps picked 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, section jumps and loaded media; focus returned by the menu, day list and people details; labelled admin fields and dialogs; keyboard map tiles; scrollable tables; form errors tied to their fields.

Events

  • Calendar fetches only the six weeks on screen (/events?from=&to=); carousels take their 12 most recent past events (?past=12).
  • New 16:9 Event photo with a description (migration 061), shown whole on the event page, the front page feature (now 16:9), featured cards, newsletter picks and share previews. Card background is only the card's background again; each photo starts as its card background.

Analytics

  • Self-hosted Plausible: the API adds the script to every page, counting under site.json's url hostname.

Deploy

  • Back up the database first (migration 061 adds two columns to events).

🤖 Generated with Claude Code

## Accessibility - Accessibility panel: switch knobs stay in their 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; picture descriptions stay in place. - Color blind mode (protanopia, deuteranopia, tritanopia, monochrome): palette swaps picked 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, section jumps and loaded media; focus returned by the menu, day list and people details; labelled admin fields and dialogs; keyboard map tiles; scrollable tables; form errors tied to their fields. ## Events - Calendar fetches only the six weeks on screen (`/events?from=&to=`); carousels take their 12 most recent past events (`?past=12`). - New 16:9 **Event photo** with a description (migration 061), shown whole on the event page, the front page feature (now 16:9), featured cards, newsletter picks and share previews. **Card background** is only the card's background again; each photo starts as its card background. ## Analytics - Self-hosted Plausible: the API adds the script to every page, counting under site.json's url hostname. ## Deploy - Back up the database first (migration 061 adds two columns to events). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ngu-git-admin added 3 commits 2026-10-03 09:03:13 +01:00
- 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>
- New Event photo and Photo description (migration 061), shown whole
  at the top of the event's page, as the front page's featured event,
  on featured cards, in newsletter picks and as the share preview.
- The front page's featured event box is 16:9 (was 16:7).
- Card background is only the faded background of the event's card.
- Each event's photo starts as its card background, so nothing
  changes on screen until it's replaced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The API adds Plausible's script to every page it serves, counting
under the hostname of site.json's url, so each deployment reports as
itself (nginx proxies /pa/ to the self-hosted Plausible). One script,
no npm tracker: it follows the app's page changes on its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ngu-git-admin merged commit f4868f19fc into main 2026-10-03 09:03:20 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ngu-git-admin/NGU-Web#25
No description provided.