Skip to content

Commit f96c7e4

Browse files
committed
add h1 header to homepage
1 parent c8d5b61 commit f96c7e4

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/features/home/components/home-page/home-page.component.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
2+
import styles from "./home-page.module.scss"
23
import { HeroComponent } from "@/features/common/components/hero/hero.component";
3-
import { Auth0CtaComponent } from "@/features/common/components/auth0-cta/auth0-cta.component";
44
import {
55
getHomeDictionary,
66
getJwtDictionary,
@@ -126,6 +126,7 @@ export const HomePageComponent: React.FC<HomePageComponentProps> = ({
126126
},
127127
]}
128128
/>
129+
<h1 className={styles.visually_hidden}>{homeDictionary.metadata.title}</h1>
129130
<HeroComponent
130131
languageCode={languageCode}
131132
dictionary={homeDictionary.info}
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
.container {
1+
.visually_hidden {
2+
position: absolute;
3+
width: 1px;
4+
height: 1px;
5+
padding: 0;
6+
margin: -1px;
7+
overflow: hidden;
8+
clip: rect(0,0,0,0);
9+
white-space: nowrap;
10+
border: 0
211
}

0 commit comments

Comments
 (0)