🔀 Merge pull request #439 from davidrothera/article-link-fix

Fix a11y issues with article-link
pull/440/head
James Panther 2023-01-13 07:47:41 +11:00 committed by GitHub
commit c678ff6408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>