set alt and title tags for images

master
Thierry Degeling 2015-08-11 13:32:06 +02:00
parent da2c3b7e16
commit 04e40e358d
4 changed files with 12 additions and 12 deletions

View File

@ -2,20 +2,20 @@
<div class="img">
{% if event.url %}
<a target="_blank" href="{{ event.url }}">
<img src="{{ event.image }}" />
<img src="{{ event.image }}" alt="{{ event.name }}" title="{{ event.name }}" />
</a>
{% else %}
<img src="{{ event.image }}" />
<img src="{{ event.image }}" alt="{{ event.name }}" title="{{ event.name }}" />
{% endif %}
</div>
{% else %}
<div class="img">
{% if event.url %}
<a target="_blank" href="{{ event.url }}">
<img src="{{ level2.logo }}" />
<img src="{{ level2.logo }}" alt="Level2 logo" title="Level2 logo" />
</a>
{% else %}
<img src="{{ level2.logo }}" />
<img src="{{ level2.logo }}" alt="Level2 logo" title="Level2 logo" />
{% endif %}
</div>
{% endif %}

View File

@ -35,7 +35,7 @@
<div class="google-map-container">
<a href="https://goo.gl/maps/OWqIf">
<img class="google-map no-margin" src="https://files.level2.lu/website/map.png" />
<img class="google-map no-margin" src="https://files.level2.lu/website/map.png" alt="Level2 location on Google Maps" title="Level2 location on Google Maps" />
</a>
</div>
@ -106,11 +106,11 @@
<h2 class="well">Sponsors</h2>
<p class="well info sponsors">
<a target="_blank" href="http://1024.lu"><img src="https://files.level2.lu/sponsors/1024.png" /></a>
<a target="_blank" href="http://www.men.public.lu/"><img src="https://files.level2.lu/sponsors/men.png" /></a>
<a target="_blank" href="http://soundselection.lu"><img src="https://files.level2.lu/sponsors/soundselection.png" /></a>
<a target="_blank" href="http://mixvoip.com/"><img src="https://files.level2.lu/sponsors/mixvoip.png" /></a>
<a target="_blank" href="http://ion.lu"><img src="https://files.level2.lu/sponsors/ion.png" /></a>
<a target="_blank" href="http://1024.lu"><img src="https://files.level2.lu/sponsors/1024.png" alt="TenTwentyFour sponsor logo" title="TenTwentyFour sponsor logo" /></a>
<a target="_blank" href="http://www.men.public.lu/"><img src="https://files.level2.lu/sponsors/men.png" alt="Éducation nationale / Enfance / Jeunesse / Luxembourg sponsor logo" title="Éducation nationale / Enfance / Jeunesse / Luxembourg sponsor logo" /></a>
<a target="_blank" href="http://soundselection.lu"><img src="https://files.level2.lu/sponsors/soundselection.png" alt="SoundSelection sponsor logo" title="SoundSelection sponsor logo" /></a>
<a target="_blank" href="http://mixvoip.com/"><img src="https://files.level2.lu/sponsors/mixvoip.png" alt="MixVOIP sponsor logo" title="MixVOIP sponsor logo" /></a>
<a target="_blank" href="http://ion.lu"><img src="https://files.level2.lu/sponsors/ion.png" alt="" title="ION Network Solutions sponsor logo" /></a>
</p>
</section>

View File

@ -29,7 +29,7 @@
<div class="google-map-container">
<a target="_blank" href="https://goo.gl/maps/OWqIf">
<img class="google-map no-margin" src="https://files.level2.lu/website/map.png" />
<img class="google-map no-margin" src="https://files.level2.lu/website/map.png" alt="Level2 location on Google Maps" title="Level2 location on Google Maps" />
</a>
</div>

View File

@ -12,7 +12,7 @@
<h2 class="well">Logo</h2>
<p class="well no-bottom-margin no-bottom-rounded">
<img src="https://files.level2.lu/logos/level2.png">
<img src="https://files.level2.lu/logos/level2.png" alt="Level2 logo" title="Level2 logo" />
</p>
<p class="well info no-top-radius">
<a class="btn btn-info btn-block" target="_blank" target="_blank" href="https://raw.githubusercontent.com/syn2cat/design/master/lvl2/pixel/level2_round_grey.png">Level2 logo in PNG format</a>