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).
pull/776/head
Ivan Demchuk 2 years ago committed by GitHub
parent 54930e57fa
commit b1ff725611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ defineProps<{
<template> <template>
<article class="VPBox"> <article class="VPBox">
<div v-if="icon" class="icon">{{ icon }}</div> <div v-if="icon" class="icon">{{ icon }}</div>
<h1 class="title">{{ title }}</h1> <h2 class="title">{{ title }}</h2>
<p class="details">{{ details }}</p> <p class="details">{{ details }}</p>
</article> </article>
</template> </template>

Loading…
Cancel
Save