Skip to content

Commit

Permalink
sr- only sur la tabulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Clararigaud committed Sep 16, 2024
1 parent 3bfce47 commit ed618c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/partials/blocks/templates/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
<ul class="carousel__pagination__tabcontainer {{ if .options.autoplay }} has_toggle {{ end }}" role="tablist">
{{ range $slideindex, $content := .content }}
<li>
<button id="carousel-tab-{{$slideindex}}" role="tab" aria-controls="carousel-item-{{$slideindex}}" aria-selected="false" class="carousel__pagination__page" type="button">
<button id="carousel-tab-{{$slideindex}}" aria-controls="carousel-item-{{$slideindex}}" aria-selected="false" class="carousel__pagination__page" type="button">
<span class="sr-only">{{ safeHTML (replace (i18n "commons.carousel.slideX") "%s" $slideindex)}}</span>
<i></i>
</button>
</li>
Expand Down

0 comments on commit ed618c1

Please sign in to comment.