a11y: add role="status" to "an email has been sent" messages (#75680) #53
|
@ -9,17 +9,17 @@
|
|||
{% if 'robot' in request.GET %}
|
||||
<p><strong>{% trans "Your password reset request has been refused." %}</strong>{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}</p>
|
||||
{% else %}
|
||||
<p>
|
||||
<div role="status"><p>
|
||||
<strong>
|
||||
{% blocktrans trimmed with email=request.session.reset_email %}
|
||||
An email has been sent to {{ email }}.
|
||||
{% endblocktrans %}
|
||||
</strong></p>
|
||||
<p><strong>
|
||||
{% blocktrans trimmed %}
|
||||
Follow the instructions in this email in order to choose a new password.
|
||||
{% endblocktrans %}
|
||||
</strong></p>
|
||||
<p><strong>
|
||||
{% blocktrans trimmed %}
|
||||
Follow the instructions in this email in order to choose a new password.
|
||||
{% endblocktrans %}
|
||||
</strong></p></div>
|
||||
{% block advice %}
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
|
|
|
@ -10,16 +10,16 @@
|
|||
<p><strong>{% trans "Your registration request has been refused." %}</strong>{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}</p>
|
||||
{% else %}
|
||||
{% block instructions %}
|
||||
<p><strong>
|
||||
<div role="status"><p><strong>
|
||||
{% blocktrans trimmed with email=request.session.registered_email %}
|
||||
An email was sent to {{ email }}.
|
||||
{% endblocktrans %}
|
||||
</strong></p>
|
||||
<p><strong>
|
||||
{% blocktrans trimmed %}
|
||||
Follow the instructions in that email to continue your registration.
|
||||
{% endblocktrans %}
|
||||
</strong></p>
|
||||
<p><strong>
|
||||
{% blocktrans trimmed %}
|
||||
Follow the instructions in that email to continue your registration.
|
||||
{% endblocktrans %}
|
||||
</strong></p></div>
|
||||
{% endblock %}
|
||||
{% block advice %}
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue