Skip to content

Commit

Permalink
feat(core): add alt attributes to footer icons
Browse files Browse the repository at this point in the history
Add missing `alt` attributes to icons in footer
template using values identical to those of the
`title` attributes of the links enclosing the
icons (as recommended by a11yproject.com when
both attributes are present).
  • Loading branch information
koeaw committed Nov 6, 2024
1 parent ed7c1d2 commit db02509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis_core/core/templates/partials/footer-left.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
{% url "apis_core:swagger-ui" as swagger_ui %}
{% if swagger_ui %}
<a href="{{ swagger_ui }}" title="Swagger UI">
<img src="{% static "/img/Swagger-logo.png" %}" height="24px">
<img src="{% static "/img/Swagger-logo.png" %}" alt="Swagger UI" height="24px">
</a>
{% endif %}
{% git_repository_url as repository_url %}
{% if repository_url %}
<a href="{{ repository_url }}" title="Git repository">
<img src="{% static "/img/Git-Icon-1788C.png" %}" height="24px">
<img src="{% static "/img/Git-Icon-1788C.png" %}" alt="Git repository" height="24px">
</a>
{% endif %}

0 comments on commit db02509

Please sign in to comment.