#34832: Use `banner` landmark or `<header>` element for the admin header area
-------------------------------------+-------------------------------------
Reporter: Thibaud | Owner: nobody
Colas |
Type: New | Status: new
feature |
Component: | Version: 4.2
contrib.admin | Keywords: accessibility,
Severity: Normal | screen reader, landmarks
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
The Django admin uses a `<div id="header"></div>` for its header area.
Switching this to a `<header>` tag or adding a `role="banner"` attribute
to the div would help screen reader users navigate the interface – they
would have an easier time bypassing the whole area when going through the
page sequentially, and would also be able to jump straight to the header
from any point on the page.
Usage of the correct HTML header tag is ideal, but might prove problematic
if CSS was written with overly specific HTML elements. We can get the same
benefits for screen reader users with `role="banner"`.
--
Ticket URL: <https://code.djangoproject.com/ticket/34832>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018a8d23ccf2-dcfd0904-4c32-4f45-ab10-254e7203b328-000000%40eu-central-1.amazonses.com.