Skip to content

Commit cf9797c

Browse files
committed
Fix: Issue bartificer#51 workaround
Made sidebar graphic aria-hidden="true" so it's never called out. also removed extra label on generated passwords (read out when no pws had been generated). Fixed another label issue that had stumped me before on # of pws.
1 parent b494095 commit cf9797c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<!-- show this up to lg -->
2626
<source media="(max-width: 768px)" srcset="assets/topBanner.png">
2727
<!-- else show this -->
28-
<img class="img-fluid" alt="XKPasswd - A Secure Memorable Password Generators" src="assets/topBanner.png">
28+
<img class="img-fluid" aria-hidden="true" alt="XKPasswd - A Secure Memorable Password Generators" src="assets/topBanner.png">
2929
</picture>
3030
</section>
3131
</div> <!-- close row for topBanner on mobile screens -->
@@ -301,7 +301,7 @@ <h3>Generate Password(s)</h3>
301301
<!-- show this on large and above -->
302302
<source media="(max-width: 992px)" srcset="assets/sideBanner.png">
303303
<!-- else show this -->
304-
<img class="img-fluid" alt="XKPasswd - A Secure Memorable Password Generators" src="assets/sideBanner.png">
304+
<img class="img-fluid" aria-hidden="true" alt="XKPasswd - A Secure Memorable Password Generators" src="assets/sideBanner.png">
305305
</picture>
306306
</section> <!-- close section for graphic -->
307307
</div> <!-- close opening row -->
@@ -313,7 +313,6 @@ <h3>Generate Password(s)</h3>
313313
<div class="card-header d-flex align-items-center">
314314
<span class=" text-uppercase">Passwords</span>
315315
</div>
316-
<label class="visually-hidden" for="generated_password">Generated Passwords</label>
317316
<div class="card-body">
318317
<label for="generated_password" class="visually-hidden">Password Area</label>
319318
<ul id="generated_password" style="list-style-type:none;"></ul>

0 commit comments

Comments
 (0)