aboutsummaryrefslogtreecommitdiff
path: root/src/components/Icons/Email.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-14 13:52:09 +0300
committerValentin Popov <valentin@popov.link>2025-06-14 13:53:20 +0300
commit1c15151ef59d3a0e7f4bb03a65bcd1970f3e1c07 (patch)
tree76389a6b8323871b7e8051ecf7fd532f070a5a7c /src/components/Icons/Email.astro
parent968b379ff0a97d15e360b4f2dff75d923cc87df8 (diff)
downloadpopov.link-1c15151ef59d3a0e7f4bb03a65bcd1970f3e1c07.tar.xz
popov.link-1c15151ef59d3a0e7f4bb03a65bcd1970f3e1c07.zip
fix: enhance accessibility by adding role attribute to SVG icons
Diffstat (limited to 'src/components/Icons/Email.astro')
-rw-r--r--src/components/Icons/Email.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Icons/Email.astro b/src/components/Icons/Email.astro
index 053b84e..5ad4d64 100644
--- a/src/components/Icons/Email.astro
+++ b/src/components/Icons/Email.astro
@@ -13,7 +13,7 @@
</style>
<a href="mailto:valentin@popov.link" title="E-Mail" target="_blank">
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-label="E-Mail">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-label="E-Mail" aria-hidden="true">
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path>
<polyline points="22,6 12,13 2,6"></polyline>
</svg>