From 29ef0d94225cf7cf84ffac806ad58ffd1c7f8157 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sat, 18 Jan 2025 18:15:05 -0600 Subject: [PATCH] Add better a11y desc to card --- src/components/VideoPostCard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/VideoPostCard.tsx b/src/components/VideoPostCard.tsx index b487b0d8ac..e56619c4f0 100644 --- a/src/components/VideoPostCard.tsx +++ b/src/components/VideoPostCard.tsx @@ -64,6 +64,7 @@ export function VideoPostCard({ */ if (!AppBskyEmbedVideo.isView(embed)) return null + const author = post.author const text = AppBskyFeedPost.isRecord(post.record) ? post.record?.text : '' const likeCount = post?.likeCount ?? 0 const repostCount = post?.repostCount ?? 0 @@ -72,7 +73,8 @@ export function VideoPostCard({ return (