From 6a03525e01fd43b6711b9706a11ed4946544cc7e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:31:54 -0600 Subject: [PATCH] A11y: add alt text to EuroPython and Vercel SVGs (#775) For https://github.com/EuroPython/website/issues/682. Add alt text for the EuroPython logo and "Powered by Vercel" SVGs, following https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_In_HTML_Introduction#best_practices. --- src/components/logo/logo.tsx | 4 ++++ src/components/vercel-logo.astro | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/components/logo/logo.tsx b/src/components/logo/logo.tsx index f031f20e..4f9c377e 100644 --- a/src/components/logo/logo.tsx +++ b/src/components/logo/logo.tsx @@ -7,7 +7,9 @@ const LogoInverted = ({ className }: { className?: string }) => { fill="none" xmlns="http://www.w3.org/2000/svg" className={className} + aria-labelledby="svgTitle" > +