Skip to content

Commit 059e7be

Browse files
Merge pull request #5 from vivrichards600/patch-1
Adding alt tag for event images for accessibility
2 parents 13f66d2 + 44a12d8 commit 059e7be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

events.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{% endif %}
2828
<ul class="pricing-table event">
2929
<li class="title">{{event.name}}</li>
30-
<li class="bullet-item"><img class="th-event" src="/images/events/{{event.image}}"></li>
30+
<li class="bullet-item"><img class="th-event" src="/images/events/{{event.image}}" alt="{{event.name}}"></li>
3131
{% if event.enddate == nil %}
3232
{% if event.year > 2016 %}
3333
<li class="bullet-item">{{ event.startdate | date: "%e %B %Y" }}</li>
@@ -91,4 +91,4 @@ <h2>Previous</h2>
9191
{% endif %}
9292
{% endfor %}
9393
{% endfor %}
94-
</ul>
94+
</ul>

0 commit comments

Comments
 (0)