summaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
authorGravatar Jeff Ruane <3893765+jbrr@users.noreply.github.com> 2023-08-07 13:27:44 -0600
committerGravatar GitHub <noreply@github.com> 2023-08-07 14:27:44 -0500
commit2c2e9362a2bb297f000b390614d91fb875658c16 (patch)
tree11af39a962a043b0b1fa87df4c2456c77aeb3c1f /examples/blog
parent9509a66a7bd4fefd6a4c1f5bd57fcb91d902172d (diff)
downloadastro-2c2e9362a2bb297f000b390614d91fb875658c16.tar.gz
astro-2c2e9362a2bb297f000b390614d91fb875658c16.tar.zst
astro-2c2e9362a2bb297f000b390614d91fb875658c16.zip
Add screen reader text to example blog footer (#7984)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/src/components/Footer.astro3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/blog/src/components/Footer.astro b/examples/blog/src/components/Footer.astro
index d77e49ec2..96c2fce91 100644
--- a/examples/blog/src/components/Footer.astro
+++ b/examples/blog/src/components/Footer.astro
@@ -6,6 +6,7 @@ const today = new Date();
&copy; {today.getFullYear()} Your name here. All rights reserved.
<div class="social-links">
<a href="https://m.webtoo.ls/@astro" target="_blank">
+ <span class="sr-only">Follow Astro on Mastodon</span>
<svg
viewBox="0 0 16 16"
aria-hidden="true"
@@ -19,6 +20,7 @@ const today = new Date();
>
</a>
<a href="https://twitter.com/astrodotbuild" target="_blank">
+ <span class="sr-only">Follow Astro on Twitter</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/twitter"
><path
fill="currentColor"
@@ -27,6 +29,7 @@ const today = new Date();
>
</a>
<a href="https://github.com/withastro/astro" target="_blank">
+ <span class="sr-only">Go to Astro's GitHub repo</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github"
><path
fill="currentColor"