From faf2bc3cf2aa0203e81c4fa44747dca753655245 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Sat, 11 Jun 2022 13:49:48 +0200 Subject: [PATCH] Add image dimensions and aria-label to avatar link in the header --- _layouts/default.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 6eddd7a..ce37e25 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -20,7 +20,9 @@ <header class="page-header" role="banner"> <h1 class="project-name"> {% if page.titleimg %} - <a href="https://chylex.com/" class="project-name-image"><img src="{{ page.titleimg | relative_url }}" alt=""></a> + <a href="https://chylex.com/" class="project-name-image" aria-label="Visit chylex.com"> + <img src="{{ page.titleimg | relative_url }}" alt="" width="120" height="120"> + </a> {% endif %} <span class="project-name-text">{{ page.title | default: site.title }}</span> </h1>