Opened 10 months ago

Last modified 6 months ago

#34977 closed Cleanup/optimization

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

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

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.

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

https://user-images.githubusercontent.com/16904477/283912840-eeee524b-3845-411a-a804-7217d8778e62.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 (1)

by Fabian Braun, 10 months ago

Attachment: password-link.jpg added

Current link to change password form

Note: See TracTickets for help on using tickets.
Back to Top