Skip to content

Commit

Permalink
Revert "Add more localized strings" (readthedocs#961)
Browse files Browse the repository at this point in the history
The alt attribute is only valid on the <area>, <img>, and <input>
elements, not <a>.

https://html.spec.whatwg.org/multipage/indices.html#attributes-3:attr-area-alt

This reverts commit 8f32736 (readthedocs#806).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Jun 26, 2020
1 parent fd83875 commit 7df2524
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 @@ -118,7 +118,7 @@
{% if logo and theme_logo_only %}
<a href="{{ pathto(master_doc) }}">
{% else %}
<a href="{{ pathto(master_doc) }}" class="icon icon-home" alt="{{ _("Documentation Home") }}"> {{ project }}
<a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ project }}
{% endif %}

{% if logo %}
Expand Down

0 comments on commit 7df2524

Please sign in to comment.