From 5b1d4677f1191d75b9caec6a7fa3e1087aa7dba9 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 25 May 2026 15:18:23 -0500 Subject: [PATCH] Improve a11y labels --- .../Post/Embed/StandardSiteEmbed/index.tsx | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/components/Post/Embed/StandardSiteEmbed/index.tsx b/src/components/Post/Embed/StandardSiteEmbed/index.tsx index 469a0361c8..5af033fe71 100644 --- a/src/components/Post/Embed/StandardSiteEmbed/index.tsx +++ b/src/components/Post/Embed/StandardSiteEmbed/index.tsx @@ -278,7 +278,9 @@ export function PublicationCard({ + style={[a.text_md, a.font_semi_bold, t.atoms.text]}> {view.source?.title} @@ -382,12 +379,21 @@ export function SubscribeButton({ if (!view.source) return null + const publicationTitle = view.source.title + const label = highlightedPublisher + ? publicationTitle + ? l`Subscribe to ${publicationTitle} on ${highlightedPublisher.name}` + : l`Subscribe on ${highlightedPublisher.name}` + : publicationTitle + ? l`View ${publicationTitle}` + : l`View publication` + return (