Skip to content

Commit

Permalink
fix: use h2 for feature headers (#774)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Demivan authored Jun 11, 2022
1 parent 54930e5 commit b1ff725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/components/VPBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defineProps<{
<template>
<article class="VPBox">
<div v-if="icon" class="icon">{{ icon }}</div>
<h1 class="title">{{ title }}</h1>
<h2 class="title">{{ title }}</h2>
<p class="details">{{ details }}</p>
</article>
</template>
Expand Down

0 comments on commit b1ff725

Please sign in to comment.