changed span inside <label> to <h1>
also make it screenreader only.
This commit is contained in:
parent
ab2798c123
commit
9f9569491b
1 changed files with 1 additions and 2 deletions
|
@ -14,10 +14,9 @@
|
|||
<body>
|
||||
<main>
|
||||
<section class="simple-note">
|
||||
<h1 class="simple-note__heading">Simple Note</h1>
|
||||
<div class="simple-note__inputs">
|
||||
<label class="simple-note__label simple-note__label--title">
|
||||
<span class="simple-note__something-idk">Title:</span>
|
||||
<h1 class="sr-only">Note title</h1>
|
||||
<input class="simple-note__input simple-note__input--title" type="text" spellcheck="false">
|
||||
</label>
|
||||
<textarea class="simple-note__input simple-note__input--body" spellcheck="false">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Atque amet veniam nulla quia harum explicabo.</textarea>
|
||||
|
|
Loading…
Reference in a new issue