Opened 13 months ago

Last modified 9 months ago

#34977 closed Cleanup/optimization

Turn link to change password form in admin user change form into a button — at Version 2

Reported by: Fabian Braun Owned by: nobody
Component: contrib.auth Version: dev
Severity: Normal Keywords: accessibility
Cc: Thibaud Colas, Tom Carrick, Sarah Abderemane 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 Fabian Braun)

Currently, to change a user's password the admin user must got to the change user form, find the password field and click a link in its help text.

https://code.djangoproject.com/raw-attachment/ticket/34977/password-link.jpg

For better user guidance and accessibility, I suggest turning this link into a button:

https://code.djangoproject.com/raw-attachment/ticket/34977/password-button.png

As David Smith pointed out, links in help texts are not read by screen readers:

"Do not include links within hint text. While screen readers will read out the link text when describing the field, they will not tell users that the text is a link." (https://design-system.service.gov.uk/components/text-input/#hint-text).

I'll be happy to provide a patch.

Change History (4)

by Fabian Braun, 13 months ago

Attachment: password-link.jpg added

Current link to change password form

comment:1 by Fabian Braun, 13 months ago

Description: modified (diff)

by Fabian Braun, 13 months ago

Attachment: password-button.png added

Potential new change or (in this case) set password button.

comment:2 by Fabian Braun, 13 months ago

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