From d0d267697eb1ac170e963f3b9a430e0608e12242 Mon Sep 17 00:00:00 2001 From: Alex Malaszkiewicz <torrocus@users.noreply.github.com> Date: Thu, 24 Jan 2019 01:34:43 +0100 Subject: [PATCH] Add empty `alt` attribute to img tag with logo (#2035) * Provide empty alt attribute (alt="") for logo image, because it does not provide information --- _includes/masthead.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/masthead.html b/_includes/masthead.html index cc2c42ab..c6bbefcb 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -8,7 +8,7 @@ <div class="masthead__inner-wrap"> <div class="masthead__menu"> <nav id="site-nav" class="greedy-nav"> - {% if site.logo %}<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path }}"></a>{% endif %} + {% if site.logo %}<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path }}" alt=""></a>{% endif %} <a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}</a> <ul class="visible-links"> {%- for link in site.data.navigation.main -%}