#34835: Use a `nav` element or `navigation` landmark for changelist filters
-------------------------------------+-------------------------------------
Reporter: Thibaud Colas | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: 4.2
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
screen reader, landmarks | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Description changed by Thibaud Colas:
Old description:
> Related: [https://code.djangoproject.com/ticket/34832 #34832],
> [https://code.djangoproject.com/ticket/34833 #34833],
> [https://code.djangoproject.com/ticket/34835 #34835]. Changelist filters
> are a very useful way to navigate long lists of entries. The filters
> would be easier to reach for screen reader users if they were in a
> `navigation` landmark done with a `<nav>` element or `role="navigation"`
> attribute. Currently they are a `<div id="changelist-filter">`.
>
> This element should be switched to a `<nav>`, and we should also add an
> `aria-labelledby` set to the id of `<h2>Filter</h2>` element within, so
> the navigation landmark has a distinct label.
New description:
Related: [https://code.djangoproject.com/ticket/34832 #34832],
[https://code.djangoproject.com/ticket/34833 #34833],
[https://code.djangoproject.com/ticket/34834 #34834]. Changelist filters
are a very useful way to navigate long lists of entries. The filters would
be easier to reach for screen reader users if they were in a `navigation`
landmark done with a `<nav>` element or `role="navigation"` attribute.
Currently they are a `<div id="changelist-filter">`.
This element should be switched to a `<nav>`, and we should also add an
`aria-labelledby` set to the id of `<h2>Filter</h2>` element within, so
the navigation landmark has a distinct label.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:2>
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/0107018a8d587ad5-cfb6ab63-208f-4905-9956-bed16ae2a0c6-000000%40eu-central-1.amazonses.com.