From 17f4f023c5233b7959bfff950a9a43bd877e36a9 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 19 Jan 2026 12:57:47 +0000 Subject: [PATCH] fix: more a11y fixes --- app/assets/main.css | 11 ++ app/components/BlueskyComment.vue | 22 ++-- app/components/FeedPost.vue | 2 +- app/components/TheClientWork.server.vue | 30 +++-- app/components/TheGithubRepos.server.vue | 6 +- app/components/TheTalks.server.vue | 20 ++-- app/components/ToggleColorMode.vue | 13 ++- app/components/global/CalSchedule.vue | 4 +- app/components/global/SocialPost.vue | 5 +- .../layout/ThePresenceIndicator.vue | 10 +- .../layout/TheSiteFooter.server.vue | 9 +- app/components/layout/TheSiteHeader.vue | 110 +++++++++--------- app/pages/ama.vue | 70 +++++++++-- app/pages/feedback.vue | 68 ++++++++--- app/pages/live.vue | 30 +++-- app/pages/work.vue | 39 ++++++- 16 files changed, 310 insertions(+), 139 deletions(-) diff --git a/app/assets/main.css b/app/assets/main.css index daeaa353..d97a4154 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -27,3 +27,14 @@ a:not([href]) { p + p, p + blockquote { @apply mt-4; } + +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } +} diff --git a/app/components/BlueskyComment.vue b/app/components/BlueskyComment.vue index d3886c21..1aef4155 100644 --- a/app/components/BlueskyComment.vue +++ b/app/components/BlueskyComment.vue @@ -60,13 +60,14 @@ const maxDepth = 4 {{ (comment.author.displayName || comment.author.handle).charAt(0).toUpperCase() }} @@ -208,21 +210,23 @@ const maxDepth = 4 diff --git a/app/components/FeedPost.vue b/app/components/FeedPost.vue index 50a8de8a..03a97141 100644 --- a/app/components/FeedPost.vue +++ b/app/components/FeedPost.vue @@ -75,7 +75,7 @@ defineProps({ loop playsinline controls - :alt="media[0].alt || undefined" + :aria-label="media[0].alt || 'Video'" :width="media[0].width" :height="media[0].height" > diff --git a/app/components/TheClientWork.server.vue b/app/components/TheClientWork.server.vue index bca7e090..e82811b5 100644 --- a/app/components/TheClientWork.server.vue +++ b/app/components/TheClientWork.server.vue @@ -20,16 +20,24 @@ const clients = { diff --git a/app/components/TheGithubRepos.server.vue b/app/components/TheGithubRepos.server.vue index 659ea972..7d870ed5 100644 --- a/app/components/TheGithubRepos.server.vue +++ b/app/components/TheGithubRepos.server.vue @@ -10,14 +10,16 @@
- {{ repo }} +

+ {{ repo }} +

diff --git a/app/components/TheTalks.server.vue b/app/components/TheTalks.server.vue index 72b395a9..1bb222a7 100644 --- a/app/components/TheTalks.server.vue +++ b/app/components/TheTalks.server.vue @@ -79,9 +79,9 @@ const { data: groups } = await useAsyncData( :key="groupKey" class="mb-2 w-full relative flex flex-col justify-end min-h-12 transition-all border-1 border-solid border-transparent after:text-transparent flex-[100%]" > -
+

{{ talks[0].title }} -

+
diff --git a/app/components/layout/TheSiteHeader.vue b/app/components/layout/TheSiteHeader.vue index cf1ce465..55596924 100644 --- a/app/components/layout/TheSiteHeader.vue +++ b/app/components/layout/TheSiteHeader.vue @@ -146,7 +146,6 @@ function onPopoverToggle (event: ToggleEvent) { >