[Django] #33725: Admin sidebar’s filter field should not receive focus when sidebar is closed

34 views
Skip to first unread message

Django

unread,
May 19, 2022, 6:27:24 PM5/19/22
to django-...@googlegroups.com
#33725: Admin sidebar’s filter field should not receive focus when sidebar is
closed
-------------------------------------+-------------------------------------
Reporter: Thibaud | Owner: nobody
Colas |
Type: Bug | Status: new
Component: | Version: dev
contrib.admin | Keywords: accessibility,
Severity: Normal | keyboard, tab stop
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
In the Django admin, when I toggle the sidebar to have it closed, my
keyboard focus going from the header to the page still disappears for one
tab stop:

Upon inspection, this seems to be the sidebar’s "Start typing to filter…"
field. Since the field is hidden, it shouldn’t be possible to tab to it.

--
Ticket URL: <https://code.djangoproject.com/ticket/33725>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 19, 2022, 6:27:59 PM5/19/22
to django-...@googlegroups.com
#33725: Admin sidebar’s filter field should not receive focus when sidebar is
closed
-------------------------------------+-------------------------------------
Reporter: Thibaud Colas | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
keyboard, tab stop | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Thibaud Colas):

* Attachment "nav-filter-tab-stops.png" added.

Screenshot of the django admin in dark mode, with tab stops visualisation
showing a stop on an invisible element

Django

unread,
May 19, 2022, 6:29:12 PM5/19/22
to django-...@googlegroups.com
#33725: Admin sidebar’s filter field should not receive focus when sidebar is
closed
-------------------------------------+-------------------------------------
Reporter: Thibaud Colas | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
keyboard, tab stop | 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:

> In the Django admin, when I toggle the sidebar to have it closed, my
> keyboard focus going from the header to the page still disappears for one
> tab stop:
>

>
> Upon inspection, this seems to be the sidebar’s "Start typing to filter…"
> field. Since the field is hidden, it shouldn’t be possible to tab to it.

New description:

In the Django admin, when I toggle the sidebar to have it closed, my
keyboard focus going from the header to the page still disappears for one

tab stop. This is tab stop 8 in the following screenshot:

[[Image(https://code.djangoproject.com/raw-attachment/ticket/33725/nav-
filter-tab-stops.png)]]

Upon inspection, this seems to be the sidebar’s "Start typing to filter…"
field. Since the field is hidden, it shouldn’t be possible to tab to it.

The whole contents of the sidebar should be invisible and inert.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/33725#comment:1>

Reply all
Reply to author
Forward
0 new messages