From e49bd51b75341b9be646f47ade9e950cf2c6b8f9 Mon Sep 17 00:00:00 2001 From: huangkevin-apr Date: Mon, 5 Jan 2026 15:59:58 +0100 Subject: [PATCH 1/2] Fix a11y: improve sitemap link color contrast to meet WCAG AA --- .vitepress/theme/components/SiteMap.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vitepress/theme/components/SiteMap.vue b/.vitepress/theme/components/SiteMap.vue index 47b520c550..96b39fa42a 100644 --- a/.vitepress/theme/components/SiteMap.vue +++ b/.vitepress/theme/components/SiteMap.vue @@ -62,6 +62,7 @@ const items = nav #sitemap .vt-link { font-size: 0.9em; - color: var(--vt-c-text-2); + /* increased contrast for better legibility (WCAG 1.4.3) */ + color: var(--vt-c-text-1); } From c5fd5d7fbd59ed7eb19c18a63491ef020ac41586 Mon Sep 17 00:00:00 2001 From: huangkevin-apr Date: Tue, 6 Jan 2026 06:28:32 +0100 Subject: [PATCH 2/2] Address review comments: trying to some combination of colors, that would fit better. Not just having the headlines and links the same color. --- .vitepress/theme/components/SiteMap.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/.vitepress/theme/components/SiteMap.vue b/.vitepress/theme/components/SiteMap.vue index 96b39fa42a..3c7ee5bd5b 100644 --- a/.vitepress/theme/components/SiteMap.vue +++ b/.vitepress/theme/components/SiteMap.vue @@ -64,5 +64,6 @@ const items = nav font-size: 0.9em; /* increased contrast for better legibility (WCAG 1.4.3) */ color: var(--vt-c-text-1); + opacity: 0.75; }