From 856792ebbe272715e75a8ebfa19284d8d8d4cbb0 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sat, 14 Mar 2026 15:47:09 +0100 Subject: [PATCH] fix(a11y): sweep all remaining accent-600 contrast failures across all components, pages, CSS and JS Bump all text-accent-600/dark:text-accent-400 to accent-700/300 for WCAG AA. Bluesky brand blue fixed: #0085ff -> #0057c7 (light) / keep #0085ff (dark). 37 files changed across widgets, sections, layouts, pages, CSS and JS. Co-Authored-By: Claude Sonnet 4.6 --- _includes/components/cv-builder.njk | 10 ++-- _includes/components/h-card.njk | 6 +-- _includes/components/post-navigation.njk | 4 +- .../components/sections/featured-posts.njk | 18 ++++---- _includes/components/sections/hero.njk | 2 +- .../components/sections/posting-activity.njk | 2 +- .../components/sections/recent-posts.njk | 2 +- _includes/components/webmentions.njk | 2 +- _includes/components/widgets/ai-usage.njk | 6 +-- .../widgets/author-card-compact.njk | 2 +- _includes/components/widgets/blogroll.njk | 10 ++-- _includes/components/widgets/github-repos.njk | 10 ++-- .../components/widgets/post-navigation.njk | 4 +- .../components/widgets/recent-comments.njk | 2 +- .../components/widgets/recent-posts-blog.njk | 14 +++--- _includes/components/widgets/recent-posts.njk | 14 +++--- .../components/widgets/social-activity.njk | 4 +- _includes/components/widgets/toc.njk | 4 +- _includes/components/widgets/webmentions.njk | 8 ++-- _includes/layouts/post.njk | 2 +- _includes/layouts/where.njk | 2 +- about.njk | 2 +- been.njk | 2 +- categories.njk | 6 +-- changelog.njk | 6 +-- css/tailwind.css | 6 +-- cv.njk | 10 ++-- digest-index.njk | 2 +- digest.njk | 12 ++--- featured.njk | 4 +- js/webmentions.js | 6 +-- news.njk | 14 +++--- search.njk | 2 +- slashes.njk | 46 +++++++++---------- starred.njk | 2 +- webmention-debug.njk | 2 +- where.njk | 2 +- 37 files changed, 126 insertions(+), 126 deletions(-) diff --git a/_includes/components/cv-builder.njk b/_includes/components/cv-builder.njk index 55c3b52..f8374a2 100644 --- a/_includes/components/cv-builder.njk +++ b/_includes/components/cv-builder.njk @@ -37,7 +37,7 @@ {{ authorName }} {% if authorTitle %} -

+

{{ authorTitle }}

{% endif %} @@ -48,7 +48,7 @@ {% endif %} {% if authorDescription %}
- + More about me ↓

@@ -82,13 +82,13 @@ {{ cvOrg }} {% endif %} {% if cvUrl %} - {{ cvUrl | replace("https://", "") | replace("http://", "") }} + {{ cvUrl | replace("https://", "") | replace("http://", "") }} {% endif %} {% if cvEmail %} - {{ cvEmail }} + {{ cvEmail }} {% endif %} {% if cvKeyUrl %} - PGP Key + PGP Key {% endif %} {% endif %} diff --git a/_includes/components/h-card.njk b/_includes/components/h-card.njk index 366e725..644dd9a 100644 --- a/_includes/components/h-card.njk +++ b/_includes/components/h-card.njk @@ -37,7 +37,7 @@ >

- + {{ authorName }} {% if authorPronoun %} @@ -78,7 +78,7 @@ @@ -89,7 +89,7 @@
{% if post.data.title %}

- {{ post.data.title }} + {{ post.data.title }}

{% endif %} {{ bookmarkedUrl | unfurlCard | safe }} @@ -101,7 +101,7 @@ {{ post.templateContent | safe }} {% endif %} - Permalink + Permalink @@ -129,7 +129,7 @@ {{ post.templateContent | safe }} {% endif %} - Permalink + Permalink @@ -157,7 +157,7 @@ {{ post.templateContent | safe }} {% endif %} - Permalink + Permalink @@ -193,14 +193,14 @@ {{ post.templateContent | safe }} {% endif %} - Permalink + Permalink {% elif post.data.title %} {# ── Article/Page card ── #}

- + {{ post.data.title }}

@@ -239,7 +239,7 @@ {{ post.templateContent | safe }} {% endif %} - + Permalink {% endif %} @@ -250,7 +250,7 @@ {% if collections.featuredPosts.length > maxItems %} diff --git a/_includes/components/sections/hero.njk b/_includes/components/sections/hero.njk index 2f83016..6da4e7f 100644 --- a/_includes/components/sections/hero.njk +++ b/_includes/components/sections/hero.njk @@ -36,7 +36,7 @@ {# Introduction #}
-
{{ stats.aiCount }}
+
{{ stats.aiCount }}
AI-involved
-
{{ stats.total - stats.aiCount }}
+
{{ stats.total - stats.aiCount }}
Human-only
@@ -53,7 +53,7 @@ {% postGraph aiPostsList, { prefix: "ai-widget", limit: 1, noLabels: true, boxColorDark: "#44403c", highlightColorLight: "#d97706", highlightColorDark: "#fbbf24" } %} {% endif %} - + View full AI report diff --git a/_includes/components/widgets/author-card-compact.njk b/_includes/components/widgets/author-card-compact.njk index e83710a..716b8f5 100644 --- a/_includes/components/widgets/author-card-compact.njk +++ b/_includes/components/widgets/author-card-compact.njk @@ -24,7 +24,7 @@ >
- + {{ authorName }} {% if authorTitle %} diff --git a/_includes/components/widgets/blogroll.njk b/_includes/components/widgets/blogroll.njk index d8a7f19..db82219 100644 --- a/_includes/components/widgets/blogroll.njk +++ b/_includes/components/widgets/blogroll.njk @@ -2,10 +2,10 @@

- + - Blogroll + Blogroll

{# Source tabs - only shown when multiple sources exist #} @@ -18,7 +18,7 @@ aria-controls="blogroll-panel" @click="activeTab = tab.key" :class="activeTab === tab.key - ? 'border-b-2 border-accent-600 text-accent-600 dark:text-accent-400 dark:border-accent-400' + ? 'border-b-2 border-accent-600 text-accent-700 dark:text-accent-300 dark:border-accent-400' : 'text-surface-600 dark:text-surface-400 hover:text-surface-700 dark:hover:text-surface-300'" class="px-2 py-1 text-xs font-medium transition-colors -mb-px" x-text="tab.label + ' (' + tab.count + ')'" @@ -31,7 +31,7 @@
  • @@ -48,7 +48,7 @@ No blogs loaded yet.
  • - + View all blogs diff --git a/_includes/components/widgets/github-repos.njk b/_includes/components/widgets/github-repos.njk index 4f7fa0c..d8f5432 100644 --- a/_includes/components/widgets/github-repos.njk +++ b/_includes/components/widgets/github-repos.njk @@ -27,7 +27,7 @@
    diff --git a/_includes/components/widgets/recent-posts-blog.njk b/_includes/components/widgets/recent-posts-blog.njk index eb04095..e982c35 100644 --- a/_includes/components/widgets/recent-posts-blog.njk +++ b/_includes/components/widgets/recent-posts-blog.njk @@ -18,7 +18,7 @@
    - + Liked {{ _likedUrl | replace("https://", "") | truncate(40) }}