Skip to content

Commit 84c3173

Browse files
committed
Fix index page accessibility
1 parent f7d5e2f commit 84c3173

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/index.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import Layout from "../layouts/BaseLayout.astro";
88
<script src="../scripts/db/index.ts"></script> -->
99
<Layout title="Sparktags Demo Page">
1010
<main class="grid lg:grid-cols-[1fr_400px_600px_1fr] gap-6 h-full relative">
11-
<div></div>
11+
<div>
12+
<!-- We need an h1 for accessibility reasons -->
13+
<h1 class="sr-only">Dashboard</h1>
14+
</div>
1215
<!-- the following div is needed for the sticky aside to work -->
1316
<div>
1417
<aside

0 commit comments

Comments
 (0)