Fix accessibility found in the audit

- Text contrast: teal text and button fills use #0f7183 (5.7:1), section
  accents darkened to pass on white, solid CTA buttons instead of the
  gradient, footer and subnav text raised to white/65, event and region
  colours kept on borders and swatches with ink text
- Hidden carousel slides and collapsed past events are inert
- Admin list rows carry a real link for keyboard use
- Mobile menu is a modal dialog: focus, Escape, inert background, above
  the header
- Skip to content link, one focus-visible ring, reduced-motion rule,
  focus rings on the calendar inputs
- Region headings hold their button instead of sitting inside it
- font-700 style classes (not Tailwind v4 utilities) replaced with named
  weights, and the 700/800 font files loaded
- Migration 038: alt text for blog covers and schedule graphics; event
  logos next to their title are decorative
- Drop the Church Center script from index.html; Giving loads it itself

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-28 22:07:56 -05:00
parent 5274e09571
commit 185f9831e2
61 changed files with 310 additions and 207 deletions

View file

@ -46,7 +46,7 @@ const SECTIONS = [
id: "national",
title: "National Retreats",
blurb: "Our flagship gatherings, open to young adults across the country.",
accent: "#138ba0",
accent: "#0f7183",
background: "#eef9fb",
Component: EventListCards,
props: { scope: "national", ...RETREATS },
@ -56,7 +56,7 @@ const SECTIONS = [
id: "regional",
title: "Regional Retreats",
blurb: "Smaller gatherings hosted by regions throughout the year.",
accent: "#aac992",
accent: "#4a7a2f",
background: "#ffffff",
Component: EventListCards,
props: { scope: "regional", ...RETREATS },
@ -81,7 +81,7 @@ const SECTIONS = [
id: "local",
title: "Local Events",
blurb: "Hosted by individual chapters.",
accent: "#d08a3c",
accent: "#9a5b17",
background: "#ffffff",
Component: EventListCards,
props: { scope: "local", ...RETREATS_ONLY },
@ -91,7 +91,7 @@ const SECTIONS = [
id: "international",
title: "International Events",
blurb: "Gatherings beyond the US.",
accent: "#3c7fd0",
accent: "#2f6bb5",
background: "#eef9fb",
Component: EventListCards,
props: { scope: "international", ...RETREATS_ONLY },
@ -101,7 +101,7 @@ const SECTIONS = [
id: "other",
title: "Other Events",
blurb: "Everything that doesn't fit the categories above.",
accent: "#7a8a8e",
accent: "#5d6c70",
background: "#ffffff",
Component: EventListCards,
props: { scope: "other", ...RETREATS_ONLY },