Skip to content

Commit d887146

Browse files
fix(a11y): add tabindex to main content
Add tabindex="-1" to the #main-content container so it can receive focus when using the skip-link feature.
1 parent 8ee3608 commit d887146

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if (import.meta.client) {
127127

128128
<AppHeader :show-logo="!isHomepage" />
129129

130-
<div id="main-content" class="flex-1 flex flex-col">
130+
<div id="main-content" class="flex-1 flex flex-col" tabindex="-1">
131131
<NuxtPage />
132132
</div>
133133

0 commit comments

Comments
 (0)