summaryrefslogtreecommitdiff
path: root/django/contrib/admin/templates/registration/password_change_form.html
diff options
context:
space:
mode:
authorantoliny0919 <antoliny0919@gmail.com>2025-05-22 15:56:51 +0900
committerJacob Walls <jacobtylerwalls@gmail.com>2025-10-14 08:10:43 -0400
commitbc03f1064e10fa247a46d4e8a98ba9b26aa4790d (patch)
treefe2ba060988bc4d7e124e0dce536009fbea0e21f /django/contrib/admin/templates/registration/password_change_form.html
parent407ab793573ce82c93cfdc86e5a0a7fa804f60f5 (diff)
Fixed #34041 -- Added aria-current attribute to admin breadcrumbs.
Co-authored by: farita1699 <uwanjerry25@gmail.com>
Diffstat (limited to 'django/contrib/admin/templates/registration/password_change_form.html')
-rw-r--r--django/contrib/admin/templates/registration/password_change_form.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/contrib/admin/templates/registration/password_change_form.html b/django/contrib/admin/templates/registration/password_change_form.html
index 3d66aeb162..d377c201ce 100644
--- a/django/contrib/admin/templates/registration/password_change_form.html
+++ b/django/contrib/admin/templates/registration/password_change_form.html
@@ -12,10 +12,10 @@
{% include "admin/color_theme_toggle.html" %}
{% endblock %}
{% block breadcrumbs %}
-<div class="breadcrumbs">
-<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
-&rsaquo; {% translate 'Password change' %}
-</div>
+<ol class="breadcrumbs">
+<li><a href="{% url 'admin:index' %}">{% translate 'Home' %}</a></li>
+<li aria-current="page">{% translate 'Password change' %}</li>
+</ol>
{% endblock %}
{% block content %}<div id="content-main">