add aria label to link for accessibility

This commit is contained in:
Dean Attali 2020-08-23 22:29:14 +00:00
parent ee8099fa6e
commit fbc6b0bd6d

View File

@ -40,7 +40,7 @@ layout: page
{% assign thumbnail=thumbnail | strip %}
{% if thumbnail != "" %}
<div class="post-image">
<a href="{{ post.url | absolute_url }}">
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
</a>
</div>