Skip to content

Commit 83797a5

Browse files
committed
Remove repeated name from author avatar alt
Sets blog author avatar image alt to empty string as it is repeated as text immediately after the image ([alternative text of images should not be repeated as text ](https://dequeuniversity.com/rules/axe/4.10/image-redundant-alt)).
1 parent 19508c7 commit 83797a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<article id="post">
55
<h2>{{ page.title }}</h2>
66
<h3>{{ page.date | date_to_long_string }}</h3>
7-
<h3 class="author"><a href="https://github.com/{{ page.author }}"><img class="avatar" src="https://avatars2.githubusercontent.com/{{ page.author }}?v=3&amp;s=80" alt="{{ page.author }}" width="40" height="40">{{ page.author }}</a></h3>
7+
<h3 class="author"><a href="https://github.com/{{ page.author }}"><img class="avatar" src="https://avatars2.githubusercontent.com/{{ page.author }}?v=3&amp;s=80" alt="" width="40" height="40">{{ page.author }}</a></h3>
88
<div class="postcontent singlepostcontent">
99
{{ content }}
1010

0 commit comments

Comments
 (0)