aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/index.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-06-07 17:44:17 +0200
committerGitHub <noreply@github.com>2022-06-07 17:44:17 +0200
commita640a5dee88f82398111142d6a4ca089bf0924cb (patch)
tree3e786789f8dfdb42d9e524171d2dfa5812c1fff0 /src/pages/index.tsx
parent22eeede34778d8e903a1999bfc6bc715c361d9ce (diff)
parentb1103a9554c5593c065466d1e289db2680cf2993 (diff)
chore: improve accessibility (#20)
Improve images, code blocks, cards and progress bar accessibility.
Diffstat (limited to 'src/pages/index.tsx')
-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',