Skip to content

Commit

Permalink
Add alt to logo img (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blendify committed Jan 18, 2018
1 parent b4ab3f6 commit ed48532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

{% if logo %}
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" />
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="Logo"/>
{% endif %}
</a>

Expand Down

0 comments on commit ed48532

Please sign in to comment.