Skip to content

Commit

Permalink
Fix: aria related errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hepabolu committed Apr 6, 2024
1 parent 525a855 commit 2b42f1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ <h3>Generate Password(s)</h3>
<!-- Technically the label should be there, but it's an audible repeat of span class -->
<!-- <label class="visually-hidden" for="selectAmount">Number of passwords</label> -->
<div class="input-group mt-2">
<span class="input-group-text"># of passwords</span>
<label class="input-group-text" for="selectAmount"># of passwords</label>
<input type="number" min="1" max="10" step="1" value="3" class="form-control" name="selectAmount"
id="selectAmount" aria-describedby="enterNumberOfPasswords" />
<!-- doesn't show as stepper on iOS or Chromium -->
Expand Down Expand Up @@ -380,8 +380,9 @@ <h3>Generate Password(s)</h3>
</div>
<div id="generated_password_lst" class="list-group list-group-flush"></div>

<label for="generated_password_txt" class="visually-hidden">Bulk password text</label>
<textarea type="text" readonly class="form-control form-control-plaintext border-0 font-monospace mb-3 password-textbox"
rows="3" id="generated_password_txt" aria_label="Bulk password text"></textarea>
rows="3" id="generated_password_txt"></textarea>

<div id="passwordErrorContainer"></div>

Expand Down

0 comments on commit 2b42f1c

Please sign in to comment.