summaryrefslogtreecommitdiff
path: root/django/contrib/admindocs/templates/admin_doc/model_detail.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/admindocs/templates/admin_doc/model_detail.html
parent407ab793573ce82c93cfdc86e5a0a7fa804f60f5 (diff)
Fixed #34041 -- Added aria-current attribute to admin breadcrumbs.
Co-authored by: farita1699 <uwanjerry25@gmail.com>
Diffstat (limited to 'django/contrib/admindocs/templates/admin_doc/model_detail.html')
-rw-r--r--django/contrib/admindocs/templates/admin_doc/model_detail.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/model_detail.html b/django/contrib/admindocs/templates/admin_doc/model_detail.html
index 1cbde0e44a..6cf05d8f1b 100644
--- a/django/contrib/admindocs/templates/admin_doc/model_detail.html
+++ b/django/contrib/admindocs/templates/admin_doc/model_detail.html
@@ -10,12 +10,12 @@
{% endblock %}
{% block breadcrumbs %}
-<div class="breadcrumbs">
-<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
-&rsaquo; <a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a>
-&rsaquo; <a href="{% url 'django-admindocs-models-index' %}">{% translate 'Models' %}</a>
-&rsaquo; {{ name }}
-</div>
+<ol class="breadcrumbs">
+<li><a href="{% url 'admin:index' %}">{% translate 'Home' %}</a></li>
+<li><a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a></li>
+<li><a href="{% url 'django-admindocs-models-index' %}">{% translate 'Models' %}</a></li>
+<li aria-current="page">{{ name }}</li>
+</ol>
{% endblock %}
{% block title %}{% blocktranslate %}Model: {{ name }}{% endblocktranslate %}{% endblock %}