a tool for shared writing and social publishing

RSS link: add text for screen readers, add aria-hidden to svg

- add text to describe the RSS link with sr-only tailwind class so the text is only read by screen readers
- add aria-hidden to the svg because the svg has no title or aria-label on its own (rather, it's labeled by the sr-only text in the shared parent)

authored by

Jen Downs and committed by
GitHub
a600a0ec 5a873fcb

+2 -1
+2 -1
app/lish/Subscribe.tsx
··· 218 218 setSuccessModalOpen={setSuccessModalOpen} 219 219 /> 220 220 <a href={`${props.base_url}/rss`} className="flex" target="_blank"> 221 - <RSSSmall className="self-center" /> 221 + <span className="sr-only">Subscribe to RSS</span> 222 + <RSSSmall className="self-center" aria-hidden /> 222 223 </a> 223 224 </div> 224 225 </div>