From 8647197a05490e2c10106a021cf6760bdabb5b2a Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 11 Feb 2022 17:56:27 +0100
Subject: chore: improve accessibility

---
 src/components/MainNav/MainNav.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'src/components/MainNav/MainNav.tsx')

diff --git a/src/components/MainNav/MainNav.tsx b/src/components/MainNav/MainNav.tsx
index e996e89..c7789ba 100644
--- a/src/components/MainNav/MainNav.tsx
+++ b/src/components/MainNav/MainNav.tsx
@@ -151,7 +151,13 @@ const MainNav = ({
               })}
         </span>
       </label>
-      <nav className={styles.nav}>
+      <nav
+        className={styles.nav}
+        aria-label={intl.formatMessage({
+          defaultMessage: 'Primary',
+          description: 'MainNav: aria-label',
+        })}
+      >
         <ul className={styles.list}>{navItems}</ul>
       </nav>
     </div>
-- 
cgit v1.2.3

