﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34040	Autofocus on model list views can be problematic for screen reader users	Thibaud Colas	moshe nahmias	"On model list views such as /admin/auth/group/, if there is a search field, it’s set to `autofocus=""true""`. Moving the keyboard focus like this on page load can be [https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus confusing for screen reader users], as they don’t have any context as to where they arrive on the page.

In this specific instance – it’s particularly problematic that they are taken to an element that’s not the first interactive element within the main content. The model’s ""Add"" button is above the search field, and would be very hard to find for a screen reader user taken straight to the search.

My recommendation would be to remove usage of autofocus for search fields like this."	Bug	closed	contrib.admin	4.0	Normal	fixed	accessibility, screen reader, keyboard		Ready for checkin	1	0	0	0	0	1
