From fe5d74a864ddd1429b0753a3984c45b2392176d2 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 22 Dec 2021 14:29:08 +0100
Subject: chore: add a skip to content link

---
 src/components/Layouts/Layout.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/Layouts/Layout.tsx')

diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx
index 8c5570f..35e7d27 100644
--- a/src/components/Layouts/Layout.tsx
+++ b/src/components/Layouts/Layout.tsx
@@ -3,6 +3,7 @@ import Footer from '@components/Footer/Footer';
 import Header from '@components/Header/Header';
 import Main from '@components/Main/Main';
 import Breadcrumb from '@components/Breadcrumb/Breadcrumb';
+import { t } from '@lingui/macro';
 
 const Layout = ({
   children,
@@ -13,6 +14,7 @@ const Layout = ({
 }) => {
   return (
     <>
+      <a href="#main" className="screen-reader-text">{t`Skip to content`}</a>
       <Header isHome={isHome} />
       <Main>{children}</Main>
       <Footer />
-- 
cgit v1.2.3

