aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-06-07 12:11:28 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-07 12:11:28 +0200
commitac79a48c07c538316949d6284bc5d9c0eb2e3f91 (patch)
tree93c1347013b74e1c2400ea84e8f212d6021192ca /src/pages
parent22eeede34778d8e903a1999bfc6bc715c361d9ce (diff)
chore: add aria hidden attribute to SVG icons
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/index.tsx7
1 files changed, 5 insertions, 2 deletions
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',