Fix a11y issues with article-link

This commit is contained in:
David Rothera
2023-01-11 23:38:17 +00:00
parent 246077e655
commit 9a39318a1f
+2
View File
@@ -10,6 +10,7 @@
{{ else }} {{ else }}
{{ $.RelPermalink }} {{ $.RelPermalink }}
{{ end }}" {{ end }}"
aria-label="{{ $.Title | emojify }}"
> >
<img <img
class="w-24 rounded-md sm:w-40" class="w-24 rounded-md sm:w-40"
@@ -17,6 +18,7 @@
{{- (.Fill "160x120 smart").RelPermalink }} 160w, {{- (.Fill "160x120 smart").RelPermalink }} 160w,
{{- (.Fill "320x240 smart").RelPermalink }} 2x" {{- (.Fill "320x240 smart").RelPermalink }} 2x"
src="{{ (.Fill "160x120 smart").RelPermalink }}" src="{{ (.Fill "160x120 smart").RelPermalink }}"
alt=""
/> />
</a> </a>
</div> </div>