Skip to content

Commit fa10827

Browse files
committed
Fix: Move "enter # of passwords" above input field
accessibility - if below, it reads it after you have to enter the number of passwords.
1 parent 22cd82e commit fa10827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,14 @@ <h3>Generate Password(s)</h3>
272272
<form id="generatePasswords"> <!-- open input area for gen pw -->
273273
<div class="row">
274274
<div class="col-8 col-md-6 mb-3">
275+
<div class="form-text">Enter the number of passwords to be generated</div>
275276
<!-- Technically the label should be there but it's an audible repeat of span class -->
276277
<!-- <label class="visually-hidden" for="selectAmount">Number of passwords</label> -->
277278
<div class="input-group mt-2">
278279
<span class="input-group-text"># of passwords</span>
279280
<input type="number" min="1" max="10" step="1" value="3" class="form-control" name="selectAmount"
280281
id="selectAmount" />
281282
</div>
282-
<div class="form-text">Enter the number of passwords to be generated</div>
283283
<!-- doesn't show as stepper on iOS or Chromium -->
284284
</div>
285285
<div class="col-3 "> <!-- open col for Generate -->

0 commit comments

Comments
 (0)