auth_fc: restore button accessibility (#52805)

This commit is contained in:
Serghei Mihai 2021-04-12 14:01:00 +02:00
parent 40e5bc9f0d
commit 49cee43b23
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,9 @@
<div id="fc-button-wrapper">
<div id="fc-button">
<div>{% trans "Link with a FranceConnect account" %}</div>
<a href="{{ link_url }}" class="button linking-button connexion{% if popup %} js-fc-popup{% endif %}"></a>
<a href="{{ link_url }}" class="button linking-button connexion{% if popup %} js-fc-popup{% endif %}">
<span class="sr-only">{% trans "Link with a FranceConnect account" %}</span>
</a>
</div>
</div>
</p>

View File

@ -7,6 +7,7 @@
<div id="fc-button">
<a href="{{ login_url }}"
class="button connexion{% if popup %} js-fc-popup{% endif %}">
<span class="sr-only">{% trans 'Log in with FranceConnect' %}</span>
</a>
</div>
</div>