We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6ee8f1 + ccd6a20 commit 710850dCopy full SHA for 710850d
templates/instagram/instagram.html
@@ -1,7 +1,9 @@
1
<section id="{{ section.slug }}" class="generic-section hidden-print instagram-section">
2
{% if account.services.instagram.media and account.services.instagram.media|length > 0 %}
3
{% for media in account.services.instagram.media %}
4
- <a target="_blank" href="{{ media.link }}" class="photo" style="background-image:url('{{ media.images.standard_resolution.url }}')"></a>
+ <a target="_blank" href="{{ media.link }}" class="photo" style="background-image:url('{{ media.images.standard_resolution.url }}')">
5
+ <img class="sr-only" alt="Instagram Photo number {{ loop.index }}. Click to be redirected to the image on Instagram.">
6
+ </a>
7
{% endfor %}
8
{% endif %}
9
</section>
0 commit comments