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>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old 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.
New 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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:1>
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>
* owner: nobody => faizan2700
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:3>
* easy: 0 => 1
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:4>
Comment (by Lemuel Sta Ana):
Hi @faizan2700, are you still actively working on the ticket?
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:5>
* owner: faizan2700 => Lemuel Sta Ana
Comment:
Reassigning/claiming ticket after about two weeks of inactivity.
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:6>
* has_patch: 0 => 1
* stage: Accepted => Ready for checkin
Comment:
Hello. Please see below,
[https://github.com/django/django/pull/17309 PR]
Thanks,
Lem
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:7>
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:8>
* stage: Ready for checkin => Accepted
Comment:
Please don't mark your own patches as "Ready for checkin".
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:9>
Comment (by Lemuel Sta Ana):
Oops, apologies @Mariusz. I enabled the wrong flag. Will be mindful next
time, thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:10>
* needs_docs: 0 => 1
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:11>
* needs_docs: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:12>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"357365a64e1c756eabaaf0ee0404df87c15c6e9b" 357365a]:
{{{
#!CommitTicketReference repository=""
revision="357365a64e1c756eabaaf0ee0404df87c15c6e9b"
Fixed #34835 -- Made admin's changelist filters render in <nav> tag.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34835#comment:13>