Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
feat(Components/SliderMedia): Add alt attribute for images (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiOZed authored and Doğa Gürdal committed Aug 22, 2017
1 parent cf5c83e commit aa63791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Components/SliderMedia/Partials/Image/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
{{ mediaSlide.image.src | resize(1110, 624) }} 1110w,
{{ mediaSlide.image.src | resize(1600, 900) }} 1600w"
src="{{ mediaSlide.image.src | resize(1110, 624) }}"
sizes="(min-width: 1140px) 1110px, calc(100vw - 30px)">
sizes="(min-width: 1140px) 1110px, calc(100vw - 30px)"
alt="{{ mediaSlide.image.alt }}">

0 comments on commit aa63791

Please sign in to comment.