Skip to content

Commit b1ff725

Browse files
authored
fix: use h2 for feature headers (#774)
Use the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).
1 parent 54930e5 commit b1ff725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/theme-default/components/VPBox.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defineProps<{
99
<template>
1010
<article class="VPBox">
1111
<div v-if="icon" class="icon">{{ icon }}</div>
12-
<h1 class="title">{{ title }}</h1>
12+
<h2 class="title">{{ title }}</h2>
1313
<p class="details">{{ details }}</p>
1414
</article>
1515
</template>

0 commit comments

Comments
 (0)