From 20908fdf7814aaa748bee4c77547dc13cb98c155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Tr=C3=B3chez?= <66706019+kiskaadee@users.noreply.github.com> Date: Mon, 30 Nov 2026 13:40:23 -0500 Subject: [PATCH] fix(a11y): resolve WCAG contrast, sticky header legibility, WhatsApp FAB overlap, and skip link (#16) * test(a11y): add Red contract tests for contrast, sticky header, skip link, and FAB - Assert skip-to-content link before .fixed WhatsApp FAB and
across all 4 built routes - Assert bg-ivory/95 header, #146c3c/#183a2d FAB contrast + mobile icon circle, #7d5d28 gold token, pb-20 footer, and >=24px tap targets * fix(a11y): resolve WCAG contrast, sticky header legibility, WhatsApp FAB overlap, and skip link - Switch sticky header from bg-sage/15 to bg-ivory/95, prepend #main skip link before .fixed FAB, and add py-2.5 lg:py-1.5 nav tap padding - Darken WhatsApp FAB to #146c3c, align aria-label with visible text ("Conversar con Azu por WhatsApp"), and collapse to 48x48 circle on <640px - Darken --color-gold to #7d5d28 and footer text to #4b5950; add pb-20 on footer and pb-24 on /kundalini/ main - Add id="main" across all 4 routes, scroll-mt-24 on focus targets, and update Slice 3 header bg assertion in services-catalog.test.js --- descargo/index.html | 6 +- index.html | 8 +- kundalini/index.html | 6 +- src/partials/footer.html | 10 +- src/partials/header.html | 20 +-- src/partials/whatsapp-fab.html | 6 +- src/style.css | 2 +- tests/a11y-foundations.test.js | 215 +++++++++++++++++++++++++++++++++ tests/services-catalog.test.js | 7 +- volver-a-ti/index.html | 10 +- 10 files changed, 256 insertions(+), 34 deletions(-) create mode 100644 tests/a11y-foundations.test.js diff --git a/descargo/index.html b/descargo/index.html index bd7dbf5..89f4295 100644 --- a/descargo/index.html +++ b/descargo/index.html @@ -31,11 +31,11 @@ - - -
+ + +
diff --git a/index.html b/index.html index 9dce8a8..1ea9f04 100644 --- a/index.html +++ b/index.html @@ -31,11 +31,11 @@ - - -
+ + +
@@ -121,7 +121,7 @@ href="https://wa.me/573215428972?text=Hola%20Azu,%20me%20gustar%C3%ADa%20agendar%20una%20sesi%C3%B3n%20inicial%20de%20Mentor%C3%ADas%20y%20Oidaterapia." target="_blank" rel="noopener noreferrer" - class="block w-full rounded-full border border-emerald px-6 py-3 text-center text-sm font-semibold text-emerald transition hover:bg-emerald hover:text-ivory" + class="block w-full scroll-mt-24 rounded-full border border-emerald px-6 py-3 text-center text-sm font-semibold text-emerald transition hover:bg-emerald hover:text-ivory" > Agendar Sesión Inicial → diff --git a/kundalini/index.html b/kundalini/index.html index 87f085b..042f59d 100644 --- a/kundalini/index.html +++ b/kundalini/index.html @@ -31,11 +31,11 @@ - - -
+ + +
diff --git a/src/partials/footer.html b/src/partials/footer.html index 0672fa7..92290cd 100644 --- a/src/partials/footer.html +++ b/src/partials/footer.html @@ -1,12 +1,12 @@ -