Skip to content

Commit d0d2676

Browse files
torrocusmmistakes
authored andcommittedJan 24, 2019
Add empty alt attribute to img tag with logo (#2035)
* Provide empty alt attribute (alt="") for logo image, because it does not provide information
1 parent 8f5140a commit d0d2676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎_includes/masthead.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="masthead__inner-wrap">
99
<div class="masthead__menu">
1010
<nav id="site-nav" class="greedy-nav">
11-
{% if site.logo %}<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path }}"></a>{% endif %}
11+
{% if site.logo %}<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path }}" alt=""></a>{% endif %}
1212
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}</a>
1313
<ul class="visible-links">
1414
{%- for link in site.data.navigation.main -%}

0 commit comments

Comments
 (0)
Please sign in to comment.