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:
parent
5274e09571
commit
185f9831e2
61 changed files with 310 additions and 207 deletions
|
|
@ -19,7 +19,7 @@ import { Link } from "react-router-dom";
|
|||
|
||||
import { ApiError, del, get, post } from "../../lib/api.ts";
|
||||
|
||||
const TEAL = "#138ba0";
|
||||
const TEAL = "#0f7183";
|
||||
const MUTED = "#4a6b72";
|
||||
const POLL_MS = 2000;
|
||||
|
||||
|
|
@ -81,9 +81,9 @@ function sizeOf(bytes: number | null): string {
|
|||
}
|
||||
|
||||
const button =
|
||||
"rounded-full border border-[#138ba0] px-4 py-2 text-sm font-semibold text-[#138ba0] transition-colors hover:bg-[#eef9fb] disabled:cursor-default disabled:opacity-50";
|
||||
"rounded-full border border-[#138ba0] px-4 py-2 text-sm font-semibold text-[#0f7183] transition-colors hover:bg-[#eef9fb] disabled:cursor-default disabled:opacity-50";
|
||||
const primary =
|
||||
"rounded-full bg-[#138ba0] px-5 py-2.5 font-semibold text-white transition-colors hover:bg-[#0f7183] disabled:bg-[#4a6b72]/25";
|
||||
"rounded-full bg-[#0f7183] px-5 py-2.5 font-semibold text-white transition-colors hover:bg-[#0b5c6a] disabled:bg-[#4a6b72]/25";
|
||||
const input =
|
||||
"rounded-lg border border-[#4a6b72]/25 bg-white px-3 py-2 text-sm text-[#26454c] outline-none focus:border-[#138ba0] focus:ring-2 focus:ring-[#138ba0]/25";
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ function Status({ job }: { job: Job }) {
|
|||
return (
|
||||
<div className="mt-2">
|
||||
<div className="h-2 overflow-hidden rounded-full bg-[#eef9fb]">
|
||||
<div className="h-full bg-[#138ba0] transition-all" style={{ width: `${job.status === "queued" ? 0 : percent}%` }} />
|
||||
<div className="h-full bg-[#0f7183] transition-all" style={{ width: `${job.status === "queued" ? 0 : percent}%` }} />
|
||||
</div>
|
||||
<p className="mt-1 text-xs" style={{ color: MUTED }}>
|
||||
{job.status === "queued" ? "Waiting its turn…" : `${percent}%`}
|
||||
|
|
@ -368,7 +368,7 @@ export default function AdminClips() {
|
|||
return (
|
||||
<div>
|
||||
<div className="flex flex-wrap items-baseline gap-3">
|
||||
<h1 className="text-2xl font-bold text-[#138ba0]">Video clips</h1>
|
||||
<h1 className="text-2xl font-bold text-[#0f7183]">Video clips</h1>
|
||||
<p className="text-sm" style={{ color: MUTED }}>
|
||||
Cut clips from our YouTube and Facebook videos, for Reels, Shorts, the site or a podcast.
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue