Avoid using aria-label with different content from visible text for "Forgotten password" link

pull/10832/merge
Thibaud Colas 2023-10-17 09:57:55 +01:00 zatwierdzone przez LB (Ben Johnston)
rodzic aa47776b8a
commit e2e0130662
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -62,6 +62,7 @@ Changelog
* Fix: Populate the correct return value when creating a new snippet within the snippet chooser (claudobahn)
* Fix: Reinstate missing filter by page type on page search (Matt Westcott)
* Fix: Ensure very long words can wrap when viewing saved comments (Chiemezuo Akujobi)
* Fix: Avoid forgotten password link text conflicting with the supplied aria-label (Thibaud Colas)
* Docs: Document `WAGTAILADMIN_BASE_URL` on "Integrating Wagtail into a Django project" page (Shreshth Srivastava)
* Docs: Replace incorrect screenshot for authors listing on tutorial (Shreshth Srivastava)
* Docs: Add documentation for building non-model-based choosers using the _queryish_ library (Matt Westcott)

Wyświetl plik

@ -77,6 +77,7 @@ depth: 1
* Populate the correct return value when creating a new snippet within the snippet chooser (claudobahn)
* Reinstate missing filter by page type on page search (Matt Westcott)
* Ensure very long words can wrap when viewing saved comments (Chiemezuo Akujobi)
* Avoid forgotten password link text conflicting with the supplied aria-label (Thibaud Colas)
### Documentation

Wyświetl plik

@ -37,7 +37,7 @@
{% field field=form.password %}{% endfield %}
{% if show_password_reset %}
<a class="reset-password" href="{% url 'wagtailadmin_password_reset' %}" aria-label="{% trans 'Reset your password' %}">{% trans "Forgotten password?" %}</a>
<a class="reset-password" href="{% url 'wagtailadmin_password_reset' %}">{% trans "Forgotten password?" %}</a>
{% endif %}
{% block extra_fields %}