mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
Merge pull request #622 from dotlineX/dev
Accessibility: add alt tag to carousel
This commit is contained in:
commit
c0c69464fe
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
<div class="relative float-left -mr-[100%] {{ if not (eq $num 0) }} hidden {{ end }} w-full transition-transform duration-[{{ $interval }}ms] ease-in-out motion-reduce:transition-none"
|
<div class="relative float-left -mr-[100%] {{ if not (eq $num 0) }} hidden {{ end }} w-full transition-transform duration-[{{ $interval }}ms] ease-in-out motion-reduce:transition-none"
|
||||||
data-te-carousel-item {{ if eq $num 0 }} data-te-carousel-active {{ end }}>
|
data-te-carousel-item {{ if eq $num 0 }} data-te-carousel-active {{ end }}>
|
||||||
<div class="ratio-{{ $aspect }} single_hero_background">
|
<div class="ratio-{{ $aspect }} single_hero_background">
|
||||||
<img src="{{ . }}" class="block absolute top-0 object-cover w-full h-full nozoom" />
|
<img src="{{ . }}" class="block absolute top-0 object-cover w-full h-full nozoom" alt="carousel image {{$num}}"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue