Fix a11y issues with article-link

pull/439/head
David Rothera 2023-01-11 23:38:17 +00:00
parent 246077e655
commit 9a39318a1f
No known key found for this signature in database
GPG Key ID: 002DE615194D174C
1 changed files with 2 additions and 0 deletions

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>