changed <h1> inside label to <span>

This commit is contained in:
westtle 2024-01-28 14:53:30 +07:00
parent 9d2e077c1a
commit b5a80c5e28

View file

@ -16,7 +16,7 @@
<section class="simple-note">
<div class="simple-note__inputs">
<label class="simple-note__label simple-note__label--title">
<h1 class="sr-only">Note title: <span class="sr-only--title">My Title</span></h1>
<span class="sr-only">Note title:</span>
<input class="simple-note__input simple-note__input--title" type="text" placeholder="My Title" spellcheck="false">
</label>
<label class="simple-note__label simple-note__label--body">