From e69714545d055fa7d940bd5720ae07ecc9abac01 Mon Sep 17 00:00:00 2001 From: timmy-bot Date: Wed, 29 Apr 2026 05:20:39 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20V3=20=E2=80=94=20harden=20footer=20text?= =?UTF-8?q?=20contrast=20to=20WCAG=201.4.3=20(#547)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add CSS rule to darken all footer text (version, render time, etc.) to #767676, achieving 4.54:1 contrast ratio on white (WCAG AA minimum). Closes #547 --- deploy/gitea-a11y/custom/public/css/a11y-fixes.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/deploy/gitea-a11y/custom/public/css/a11y-fixes.css b/deploy/gitea-a11y/custom/public/css/a11y-fixes.css index f4c8694c..f98a98d8 100644 --- a/deploy/gitea-a11y/custom/public/css/a11y-fixes.css +++ b/deploy/gitea-a11y/custom/public/css/a11y-fixes.css @@ -1,3 +1,15 @@ + +/* V3 (#547): Footer text contrast — darken to #767676 for 4.54:1 on white */ +footer, .footer, .site-footer { + color: #767676 !important; +} +footer .text-muted, .footer .text-muted, .site-footer .text-muted, +footer small, .footer small, .site-footer small, +footer .muted, .footer .muted, .site-footer .muted { + color: #767676 !important; +} + + /* a11y-fixes.css — Gitea custom public CSS overrides for WCAG 2.1 AA */ /* V4 (#548): Green inline links — darken + underline for contrast */ .markdown-body a,