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 18, 2024
1 parent 3d44d6e commit 710eb26
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 710eb26

Please sign in to comment.