From ac79a48c07c538316949d6284bc5d9c0eb2e3f91 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 7 Jun 2022 12:11:28 +0200
Subject: chore: add aria hidden attribute to SVG icons

---
 src/pages/index.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/pages/index.tsx')

diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 6e9c4c6..025bf6d 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -193,7 +193,7 @@ const HomePage: NextPageWithLayout<HomeProps> = ({ recentPosts }) => {
         id: 'contact-me',
         value: (
           <ButtonLink target="/contact">
-            <Envelop className={styles.icon} />
+            <Envelop aria-hidden={true} className={styles.icon} />
             {intl.formatMessage({
               defaultMessage: 'Contact me',
               description: 'HomePage: contact button text',
@@ -206,7 +206,10 @@ const HomePage: NextPageWithLayout<HomeProps> = ({ recentPosts }) => {
         id: 'rss-feed',
         value: (
           <ButtonLink target="/feed">
-            <FeedIcon className={`${styles.icon} ${styles['icon--feed']}`} />
+            <FeedIcon
+              aria-hidden={true}
+              className={`${styles.icon} ${styles['icon--feed']}`}
+            />
             {intl.formatMessage({
               defaultMessage: 'Subscribe',
               description: 'HomePage: RSS feed subscription text',
-- 
cgit v1.2.3

