Add some alt texts

This commit is contained in:
Tobias Reisinger 2021-07-23 00:28:26 +02:00
parent cb80c1367e
commit 2340b50f51
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 5 additions and 5 deletions

View file

@ -47,7 +47,7 @@
<a href="/" class="col-12">
{% include 'partials/logo.html.twig' with {style: 'filter: invert(100%); margin-right: 0.5rem;'} %}
{% for media_item in header_page.media.images %}
<img src="{{ media_item.quality(15).url }}" />
<img alt="Eines der Bilder im Seiten-Header." src="{{ media_item.quality(15).url }}" />
{% endfor %}
</a>
</div>

View file

@ -6,7 +6,7 @@
{% endif %}
{% if logo %}
{% set logo_file = (logo|first).name %}
<img {{ style }} src="{{ url('theme://images/logo/' ~ logo_file) }}" />
<img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo/' ~ logo_file) }}" />
{% else %}
<img {{ style }} src="{{ url('theme://images/logo.svg') }}" />
<img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo.svg') }}" />
{% endif %}