diff --git a/_includes/components/blog-sidebar.njk b/_includes/components/blog-sidebar.njk index 262aa0f..4fd71c1 100644 --- a/_includes/components/blog-sidebar.njk +++ b/_includes/components/blog-sidebar.njk @@ -46,23 +46,23 @@ {% elif widget.type == "fediverse-follow" %} {% set widgetIcon = "user-plus" %}{% set widgetIconClass = "w-5 h-5 text-[#a730b8]" %}{% set widgetBorder = "border-l-[3px] border-l-[#a730b8]" %} {% elif widget.type == "author-card" or widget.type == "author-card-compact" %} - {% set widgetIcon = "user" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "user" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "recent-posts" %} - {% set widgetIcon = "list" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "list" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "categories" or widget.type == "post-categories" %} - {% set widgetIcon = "tag" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "tag" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "recent-comments" %} - {% set widgetIcon = "chat" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "chat" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "search" %} - {% set widgetIcon = "search" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "search" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "webmentions" %} - {% set widgetIcon = "share" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "share" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "ai-usage" %} {% set widgetIcon = "zap" %}{% set widgetIconClass = "w-5 h-5 text-amber-500" %}{% set widgetBorder = "border-l-[3px] border-l-amber-400 dark:border-l-amber-500" %} {% elif widget.type == "toc" %} - {% set widgetIcon = "list" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "list" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% elif widget.type == "share" %} - {% set widgetIcon = "share" %}{% set widgetIconClass = "w-5 h-5 text-surface-500" %}{% set widgetBorder = "" %} + {% set widgetIcon = "share" %}{% set widgetIconClass = "w-5 h-5 text-surface-600 dark:text-surface-400" %}{% set widgetBorder = "" %} {% else %} {% set widgetIcon = "" %}{% set widgetIconClass = "" %}{% set widgetBorder = "" %} {% endif %} @@ -89,6 +89,7 @@ class="widget-chevron" :class="open && 'rotate-180'" fill="none" stroke="currentColor" viewBox="0 0 24 24" + aria-hidden="true" > @@ -169,8 +170,8 @@
{% include "components/widgets/author-card-compact.njk" %} @@ -183,8 +184,8 @@
{% include "components/widgets/toc.njk" %} @@ -197,8 +198,8 @@
{% include "components/widgets/post-categories.njk" %} @@ -211,8 +212,8 @@
{% include "components/widgets/recent-posts-blog.njk" %} @@ -225,8 +226,8 @@
{% include "components/widgets/webmentions.njk" %} @@ -239,8 +240,8 @@
{% include "components/widgets/share.njk" %} @@ -254,7 +255,7 @@
{% include "components/widgets/subscribe.njk" %} @@ -267,8 +268,8 @@
{% include "components/widgets/recent-comments.njk" %} diff --git a/_includes/components/comments.njk b/_includes/components/comments.njk index d339185..dacd261 100644 --- a/_includes/components/comments.njk +++ b/_includes/components/comments.njk @@ -21,6 +21,7 @@
{# Status messages #}
-
- +
diff --git a/_includes/components/cv-builder.njk b/_includes/components/cv-builder.njk index 8e62d2d..55c3b52 100644 --- a/_includes/components/cv-builder.njk +++ b/_includes/components/cv-builder.njk @@ -74,7 +74,7 @@ {% endif %} {# Contact details — location, organization, website, email, PGP #} {% if cvLocality or cvCountry or cvOrg or cvUrl or cvEmail or cvKeyUrl %} -
+
{% if cvLocality or cvCountry %} {% if cvLocality %}{{ cvLocality }}{% endif %}{% if cvLocality and cvCountry %}, {% endif %}{% if cvCountry %}{{ cvCountry }}{% endif %} {% endif %} @@ -160,7 +160,7 @@ {# Last Updated #} {% if cv.lastUpdated %} -

+

Last updated:

{% endif %} diff --git a/_includes/components/empty-collection.njk b/_includes/components/empty-collection.njk index 8198853..e0e8995 100644 --- a/_includes/components/empty-collection.njk +++ b/_includes/components/empty-collection.njk @@ -12,7 +12,7 @@

No {{ title | lower }} yet

-

+

This is where your {{ title | lower }} will appear once you start creating content.

{% if typeInfo %} diff --git a/_includes/components/fediverse-modal.njk b/_includes/components/fediverse-modal.njk index 34489ef..8923af3 100644 --- a/_includes/components/fediverse-modal.njk +++ b/_includes/components/fediverse-modal.njk @@ -14,6 +14,7 @@ @click="showModal = false">
{# Panel #} diff --git a/_includes/components/widgets/github-repos.njk b/_includes/components/widgets/github-repos.njk index 18739cc..5dd550c 100644 --- a/_includes/components/widgets/github-repos.njk +++ b/_includes/components/widgets/github-repos.njk @@ -9,31 +9,39 @@ {# Tab buttons — order: Commits, Repos, Featured, PRs #} -
+
@@ -99,7 +99,7 @@ {{ post.templateContent | striptags | truncate(50) or "Note" }} -
diff --git a/_includes/components/widgets/share.njk b/_includes/components/widgets/share.njk index 472f6b3..2ab5684 100644 --- a/_includes/components/widgets/share.njk +++ b/_includes/components/widgets/share.njk @@ -8,7 +8,8 @@ target="_blank" rel="noopener" class="flex-1 inline-flex items-center justify-center gap-2 px-3 py-2 rounded-lg bg-[#0085ff]/10 text-[#0085ff] hover:bg-[#0085ff]/20 transition-colors text-sm font-medium" - title="Share on Bluesky"> + title="Share on Bluesky" + aria-label="Share on Bluesky"> @@ -17,7 +18,8 @@ + title="Share on the Fediverse (Shift+click to change instance)" + aria-label="Share on the Fediverse"> diff --git a/_includes/components/widgets/social-activity.njk b/_includes/components/widgets/social-activity.njk index d410324..d2b16c9 100644 --- a/_includes/components/widgets/social-activity.njk +++ b/_includes/components/widgets/social-activity.njk @@ -5,11 +5,13 @@

Social Activity

{# Tab buttons #} -
+
{# Empty #} -

No webmentions received yet.

+

No webmentions received yet.

{# Error #}

diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 45c2d6c..79b6616 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -135,18 +135,19 @@ } })(); + -
+
{# Skeleton loader — shown until Tailwind stylesheet loads #}