Skip to content

Commit 710850d

Browse files
authored
Merge pull request #10 from getbento/PSE-2692/instagram-accessibility
PSE-2692: Improve instagram accessibility
2 parents e6ee8f1 + ccd6a20 commit 710850d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/instagram/instagram.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<section id="{{ section.slug }}" class="generic-section hidden-print instagram-section">
22
{% if account.services.instagram.media and account.services.instagram.media|length > 0 %}
33
{% 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>
4+
<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>
57
{% endfor %}
68
{% endif %}
79
</section>

0 commit comments

Comments
 (0)