fix(a11y): use h1 for title in hero instead of p (#776)

pull/777/head
Divyansh Singh 2 years ago committed by GitHub
parent b1ff725611
commit 919d23079b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,8 +25,8 @@ defineProps<{
<div class="VPHero" :class="{ 'has-image': image }"> <div class="VPHero" :class="{ 'has-image': image }">
<div class="container"> <div class="container">
<div class="main"> <div class="main">
<p v-if="name" class="name"><span class="clip">{{ name }}</span></p> <h1 v-if="name" class="name"><span class="clip">{{ name }}</span></h1>
<h1 v-if="text" class="text">{{ text }}</h1> <p v-if="text" class="text">{{ text }}</p>
<p v-if="tagline" class="tagline">{{ tagline }}</p> <p v-if="tagline" class="tagline">{{ tagline }}</p>
<div v-if="actions" class="actions"> <div v-if="actions" class="actions">

Loading…
Cancel
Save