Skip to content

Commit 256c570

Browse files
committed
docs: Add invisible h1 to homepage
1 parent 7a5e4f8 commit 256c570

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

website/src/pages/index.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ProjectTitle = () => {
1919
// light: useBaseUrl('img/client_logo_and_text.svg'),
2020
// dark: useBaseUrl('img/client_logo_and_text.svg'),
2121
// };
22-
// const { siteConfig } = useDocusaurusContext();
22+
const { siteConfig } = useDocusaurusContext();
2323

2424
return (
2525
<React.Fragment>
@@ -30,12 +30,14 @@ const ProjectTitle = () => {
3030
height={90}
3131
width={416}
3232
/> */}
33-
<LogoAndText alt="The Reactive Data Client" height={90} />
33+
<LogoAndText
34+
role="img"
35+
aria-label="The Reactive Data Client"
36+
height={90}
37+
/>
3438
</div>
39+
<h1 style={{ display: 'none' }}>{siteConfig.title}</h1>
3540
{/*
36-
<h1 style={{ marginBottom: '0.0', fontWeight: '600' }}>
37-
{siteConfig.title}
38-
</h1>
3941
<p style={{ marginTop: '0.0', fontWeight: '500', fontSize: '18px' }}>
4042
Async State <strike>Management</strike> without the Management
4143
</p> */}

0 commit comments

Comments
 (0)