Skip to content

Commit

Permalink
frontend: use aria-label instead of visually-hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Nov 21, 2024
1 parent f43ec46 commit 1f3f53b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,11 @@
</div>
</div>

<button class="carousel-control-prev" type="button" data-bs-target="#carouselPictures" data-bs-slide="prev">
<button class="carousel-control-prev" type="button" data-bs-target="#carouselPictures" data-bs-slide="prev" aria-label="Previous">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselPictures" data-bs-slide="next">
<button class="carousel-control-next" type="button" data-bs-target="#carouselPictures" data-bs-slide="next" aria-label="Next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>

</div>
Expand Down

0 comments on commit 1f3f53b

Please sign in to comment.