diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-22 14:29:08 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-22 14:32:57 +0100 |
| commit | fe5d74a864ddd1429b0753a3984c45b2392176d2 (patch) | |
| tree | 43780acb909d3907ae0cc2143e77e79c07572890 /src/components/Layouts | |
| parent | 139b3a252c9f90de603be1a98e3186b359353541 (diff) | |
chore: add a skip to content link
Diffstat (limited to 'src/components/Layouts')
| -rw-r--r-- | src/components/Layouts/Layout.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
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 /> |
