Opened 2 years ago

Last modified 2 years ago

#33725 closed Bug

Admin sidebar’s filter field should not receive focus when sidebar is closed — at Version 1

Reported by: Thibaud Colas Owned by: nobody
Component: contrib.admin Version: 4.0
Severity: Release blocker Keywords: accessibility, keyboard, tab stop
Cc: Tom Carrick, Maxim Milovanov Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description (last modified by Thibaud Colas)

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:

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.

Change History (2)

by Thibaud Colas, 2 years ago

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

comment:1 by Thibaud Colas, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top