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
|
|
@ -40,13 +40,13 @@ const Footer_Links = [
|
|||
];
|
||||
|
||||
const footerLinkClass =
|
||||
"text-white/40 hover:text-[#aac992] text-sm transition-colors";
|
||||
"text-white/65 hover:text-[#aac992] text-sm transition-colors";
|
||||
|
||||
const pageLinkClass =
|
||||
"text-white/80 hover:text-[#aac992] text-sm font-semibold transition-colors";
|
||||
|
||||
const sectionLinkClass =
|
||||
"text-white/45 hover:text-[#aac992] text-sm transition-colors";
|
||||
"text-white/65 hover:text-[#aac992] text-sm transition-colors";
|
||||
|
||||
const headingClass = "text-white/90 text-sm font-semibold mb-4";
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ export default function Footer() {
|
|||
<br />
|
||||
{Organization_Details.cityLine}
|
||||
<br />
|
||||
<span className="text-white/40">({Organization_Details.addressNote})</span>
|
||||
<span className="text-white/65">({Organization_Details.addressNote})</span>
|
||||
</address>
|
||||
<p className="mt-3 max-w-xl text-sm leading-relaxed text-white/60">
|
||||
{Organization_Details.nonprofit} Tax ID: {Organization_Details.taxId}.
|
||||
|
|
@ -111,7 +111,7 @@ export default function Footer() {
|
|||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-block mt-8 px-6 py-2.5 rounded-full text-sm font-bold text-white whitespace-nowrap transition-all duration-200 hover:scale-105"
|
||||
style={{ background: "linear-gradient(135deg, #008fa8, #88b668)" }}
|
||||
style={{ background: "#0f7183" }}
|
||||
>
|
||||
Support Us
|
||||
</a>
|
||||
|
|
@ -161,7 +161,7 @@ export default function Footer() {
|
|||
</div>
|
||||
|
||||
<div className="border-t border-white/10 pt-8 flex flex-col md:flex-row items-center justify-between gap-4">
|
||||
<p className="text-white/40 text-sm">© 2026 Next Generation of Unity. All rights reserved.</p>
|
||||
<p className="text-white/65 text-sm">© 2026 Next Generation of Unity. All rights reserved.</p>
|
||||
<div className="flex gap-6">
|
||||
{Footer_Links.map((link) => (
|
||||
<Link key={link.label} to={link.to} className={footerLinkClass}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue