summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial07.txt
diff options
context:
space:
mode:
authorHoward Cox <dev.anubis@gmail.com>2023-06-02 11:54:07 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-06-05 11:55:06 +0200
commitcd413bd78ac65bd4282d26cc279bfd1bd4de707d (patch)
tree8e492aaafc8a5c341eec3d9e40e72bdf26c7cb38 /docs/intro/tutorial07.txt
parent89c27d867252d7c81be3de7184578db1934a9318 (diff)
Fixed #34621 -- Made admin site header render in <div> tag.
This was problematic for screen reader users because they use headings to navigate. Having two <h1> is confusing, and the one in the header wasn’t particularly helpful since it’s the same on all pages.
Diffstat (limited to 'docs/intro/tutorial07.txt')
-rw-r--r--docs/intro/tutorial07.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt
index 71c13180fe..7810ad7fad 100644
--- a/docs/intro/tutorial07.txt
+++ b/docs/intro/tutorial07.txt
@@ -367,7 +367,7 @@ a section of code like:
.. code-block:: html+django
{% block branding %}
- <h1 id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a></h1>
+ <div id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a><div>
{% endblock %}
We use this approach to teach you how to override templates. In an actual