templates: add alt texts to image links (#29408)

This commit is contained in:
Frédéric Péters 2019-01-02 17:29:04 +01:00
parent 5a20b28487
commit 50c7236d90
4 changed files with 4 additions and 7 deletions

View File

@ -17,7 +17,7 @@
<p>
<div id="fc-button-wrapper">
<div id="fc-button">
<a href="{{ link_url }}" title="{% trans 'Link with a FranceConnect account' %}" class="button connexion{% if popup %} js-fc-popup{% endif %}"><div>{% trans "Link with a FranceConnect account" %}<img src="{% static 'authentic2_auth_fc/img/FCboutons-10.svg' %}"></img></div></a>
<a href="{{ link_url }}" class="button connexion{% if popup %} js-fc-popup{% endif %}"><div>{% trans "Link with a FranceConnect account" %}<img alt="{% trans 'Link with a FranceConnect account' %}" src="{% static 'authentic2_auth_fc/img/FCboutons-10.svg' %}"></div></a>
</div>
</div>
</p>

View File

@ -5,10 +5,9 @@
<div id="fc-button-wrapper">
<div id="fc-button">
<a href="{{ login_url }}"
title="{% trans 'Log in with FranceConnect' %}"
class="button connexion{% if popup %} js-fc-popup{% endif %}">
<div>
<img src="{% static "authentic2_auth_fc/img/FC-connect-button.svg" %}"></img>
<img alt="{% trans 'Log in with FranceConnect' %}" src="{% static "authentic2_auth_fc/img/FC-connect-button.svg" %}">
</div>
</a>
</div>

View File

@ -14,10 +14,9 @@
<div id="fc-button-wrapper">
<div id="fc-button">
<a href="{{ registration_url }}"
title="{% trans 'Create your account with FranceConnect' %}"
class="button connexion{% if popup %} js-fc-popup{% endif %}">
<div>
<img src="{% static 'authentic2_auth_fc/img/FC-register-button.svg' %}"></img>
<img alt="{% trans 'Create your account with FranceConnect' %}" src="{% static 'authentic2_auth_fc/img/FC-register-button.svg' %}">
</div>
</a>
</div>

View File

@ -5,10 +5,9 @@
<div id="fc-button-wrapper">
<div id="fc-button">
<a href="{{ login_url }}"
title="{% trans 'Register with FranceConnect' %}"
class="button connexion{% if popup %} js-fc-popup{% endif %}">
<div>
<img src="{% static "authentic2_auth_fc/img/FC-register-button.svg" %}"></img>
<img alt="{% trans 'Register with FranceConnect' %}" src="{% static "authentic2_auth_fc/img/FC-register-button.svg" %}">
</div>
</a>
</div>