From a6ff8e83fce19c9080b764c5daf1c2fe42a5d6a0 Mon Sep 17 00:00:00 2001 From: Nikhil Kumar Rajak Date: Tue, 21 Jul 2026 17:49:06 +0000 Subject: [PATCH] fix(a11y): resolve axe color-contrast and accessible-name failure --- components/HomePage/ConfigSection/index.module.css | 6 +++--- components/HomePage/FeaturesSection/index.module.css | 2 +- components/HomePage/HomeSponsorSection/index.module.css | 2 +- components/NavBar.jsx | 2 ++ components/SectionHeader/index.module.css | 2 +- components/Sponsors/Card/index.module.css | 4 ++-- components/Sponsors/Tier/index.module.css | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) diff --git a/components/HomePage/ConfigSection/index.module.css b/components/HomePage/ConfigSection/index.module.css index 27c1fff0..5859edd9 100644 --- a/components/HomePage/ConfigSection/index.module.css +++ b/components/HomePage/ConfigSection/index.module.css @@ -34,7 +34,7 @@ font-normal uppercase tracking-wider - text-blue-600 + text-blue-700 dark:text-blue-500 lg:justify-start; } @@ -80,7 +80,7 @@ @apply mb-4 text-base leading-relaxed - text-neutral-600 + text-neutral-800 dark:text-neutral-400; } @@ -96,7 +96,7 @@ gap-3 text-sm font-medium - text-neutral-700 + text-neutral-800 dark:text-neutral-300; } diff --git a/components/HomePage/FeaturesSection/index.module.css b/components/HomePage/FeaturesSection/index.module.css index 527fc510..f96ca7ad 100644 --- a/components/HomePage/FeaturesSection/index.module.css +++ b/components/HomePage/FeaturesSection/index.module.css @@ -105,6 +105,6 @@ @apply m-0 text-sm leading-relaxed - text-neutral-600 + text-neutral-800 dark:text-neutral-400; } diff --git a/components/HomePage/HomeSponsorSection/index.module.css b/components/HomePage/HomeSponsorSection/index.module.css index 530d3ba8..098cc36f 100644 --- a/components/HomePage/HomeSponsorSection/index.module.css +++ b/components/HomePage/HomeSponsorSection/index.module.css @@ -64,7 +64,7 @@ font-semibold uppercase tracking-widest - text-neutral-400 + text-neutral-800 dark:text-neutral-500; } diff --git a/components/NavBar.jsx b/components/NavBar.jsx index 68cfd085..117fea59 100644 --- a/components/NavBar.jsx +++ b/components/NavBar.jsx @@ -29,10 +29,12 @@ export default ({ metadata }) => { diff --git a/components/SectionHeader/index.module.css b/components/SectionHeader/index.module.css index 64ff20ec..8a509fa4 100644 --- a/components/SectionHeader/index.module.css +++ b/components/SectionHeader/index.module.css @@ -34,6 +34,6 @@ @apply m-0 text-base leading-relaxed - text-neutral-600 + text-neutral-800 dark:text-neutral-300; } diff --git a/components/Sponsors/Card/index.module.css b/components/Sponsors/Card/index.module.css index 1759c6b3..33f4dbbf 100644 --- a/components/Sponsors/Card/index.module.css +++ b/components/Sponsors/Card/index.module.css @@ -64,7 +64,7 @@ .amount { @apply text-xs - text-neutral-500 + text-neutral-800 dark:text-neutral-400; } @@ -72,7 +72,7 @@ @apply m-0 text-sm leading-relaxed - text-neutral-600 + text-neutral-800 dark:text-neutral-300; } diff --git a/components/Sponsors/Tier/index.module.css b/components/Sponsors/Tier/index.module.css index d901b1d2..2e927cfe 100644 --- a/components/Sponsors/Tier/index.module.css +++ b/components/Sponsors/Tier/index.module.css @@ -33,7 +33,7 @@ .price { @apply ml-auto text-sm - text-neutral-500 + text-neutral-800 dark:text-neutral-400; }