Opened 3 months ago

Last modified 6 weeks ago

#36458 assigned Cleanup/optimization

Move focus to admin widget popup window after button click

Reported by: Antoliny Owned by: Chaitanya
Component: contrib.admin Version: 5.1
Severity: Normal Keywords: accessibility, datetime shortcut
Cc: Antoliny, Eliana Rosselli, Thibaud Colas, Sarah Abderemane, Tom Carrick, Chaitanya Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Antoliny)

It is currently difficult to use the admin shortcut feature with a screen reader.

As stated in the title, even when the button is clicked, focus does not move directly to the target element, causing inconvenience as users have to go through all other elements before reaching it.


The way to solve this issue is to set focus to a specific element in the dialog when the button is clicked.
However, some discussion may be needed to decide exactly which element should receive focus.

Attachments (1)

shortcut_example.png (73.3 KB ) - added by Antoliny 3 months ago.

Download all attachments as: .zip

Change History (11)

by Antoliny, 3 months ago

Attachment: shortcut_example.png added

comment:1 by Antoliny, 3 months ago

Description: modified (diff)
Summary: Improve accessibility by moving focus to admin datetime shortcut button when clicked for screen reader usersImprove accessibility by moving focus to admin shortcut button when clicked for screen reader users

comment:2 by Antoliny, 3 months ago

Cc: Antoliny added

comment:3 by Sarah Boyce, 3 months ago

Cc: Eliana Rosselli Thibaud Colas Sarah Abderemane Tom Carrick added
Summary: Improve accessibility by moving focus to admin shortcut button when clicked for screen reader usersMove focus to admin widget popup window after button click
Triage Stage: UnreviewedAccepted

Thank you, this would be an improvement. It's likely true in a number of places (such as the time widget also).
I think this also helps any keyboard only user (which would include folks with motor problems who don't use a mouse)

comment:4 by Chaitanya, 8 weeks ago

Owner: set to Chaitanya
Status: newassigned

comment:5 by Antoliny, 8 weeks ago

comment:6 by Antoliny, 8 weeks ago

Has patch: set

comment:7 by Antoliny, 8 weeks ago

Needs tests: set
Patch needs improvement: set

comment:8 by Chaitanya, 6 weeks ago

Needs tests: unset
Patch needs improvement: unset

comment:9 by Chaitanya, 6 weeks ago

Cc: Chaitanya added

comment:10 by Sarah Boyce, 6 weeks ago

Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top