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) { >