#34977: Turn link to change password form in admin user change form into a 
button
-------------------------------------+-------------------------------------
     Reporter:  Fabian Braun         |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  contrib.auth         |                  Version:  4.2
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Description changed by Fabian Braun:

Old 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.
>
> [[Image(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:
>
> [[Image(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.

New 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.

 [[Image(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:

 [[Image(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.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018be7c469ef-5a488e43-fb61-4043-8fdd-b4d10eca8239-000000%40eu-central-1.amazonses.com.

Reply via email to