Skip to content

Commit

Permalink
provide an alt tag for the logo img.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi committed Dec 12, 2019
1 parent 993c728 commit b9dd25c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion material/partials/header.html
Expand Up @@ -9,7 +9,7 @@
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="24" height="24">
<img alt="logo" src="{{ config.theme.logo | url }}" width="24" height="24">
{% endif %}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion material/partials/nav.html
Expand Up @@ -7,7 +7,7 @@
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="48" height="48">
<img alt="logo" src="{{ config.theme.logo | url }}" width="48" height="48">
{% endif %}
</a>
{{ config.site_name }}
Expand Down
3 changes: 2 additions & 1 deletion src/partials/header.html
Expand Up @@ -35,7 +35,8 @@
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="24" height="24" />
<img alt="logo" src="{{ config.theme.logo | url }}" width="24"
height="24" />
{% endif %}
</a>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/partials/nav.html
Expand Up @@ -30,7 +30,8 @@
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="48" height="48" />
<img alt="logo" src="{{ config.theme.logo | url }}" width="48"
height="48" />
{% endif %}
</a>
{{ config.site_name }}
Expand Down

0 comments on commit b9dd25c

Please sign in to comment.