[[Image()]]
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/34977>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "password-link.jpg" added.
Current link to change password form
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()]]
>
> 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://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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:1>
* Attachment "password-button.png" added.
Potential new change or (in this case) set password button.
--
Ticket URL: <https://code.djangoproject.com/ticket/34977>
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>
* owner: nobody => Fabian Braun
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:3>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:4>
* owner: Fabian Braun => Fabian Braun
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:5>
* keywords: => accessibility
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:6>
Comment (by Natalia Bidart):
I added some review comments proposing a slightly different approach:
instead of having either a link or a button *in* the help text, I would
like that we separate the help text legend from the "convenience shortcut"
to hint the admin user where they can act regarding the password.
I'd like the accessibility team's input, I attached a possible diff to the
[https://github.com/django/django/pull/17489#issuecomment-1879361460
linked PR].
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:7>
* cc: Thibaud Colas, Tom Carrick, Sarah Abderemane (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:8>
I would like to work on this issue :)
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:9>
Replying to [comment:9 Abhii67534]:
I would like to work on this issue :)
Thank you for your interest in helping, but there is already a submitted
PR solving this issue, we are just waiting on some specific feedback.
--
Ticket URL: <https://code.djangoproject.com/ticket/34977#comment:10>