[Django] #34917: Links within text in the Django admin are difficult to identify

0 views
Skip to first unread message

Django

unread,
Oct 20, 2023, 9:56:17 AM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: dchukhin | Owner: nobody
Type: Bug | Status: assigned
Component: | Version: dev
contrib.admin | Keywords: accessibility,
Severity: Normal | anchor
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
In the Django admin, some fields have text with an anchor link, and this
text appears without an indication that it is a link.
The text should appear with an indication (an underline), to meet
accessibility guidelines.

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

Django

unread,
Oct 20, 2023, 10:03:23 AM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Dmitriy Chukhin):

* Attachment "Screenshot.png" added.

Django

unread,
Oct 20, 2023, 10:04:47 AM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Description changed by Dmitriy Chukhin:

Old description:

> In the Django admin, some fields have text with an anchor link, and this
> text appears without an indication that it is a link.
> The text should appear with an indication (an underline), to meet
> accessibility guidelines.

New description:

In the Django admin, some fields have text with an anchor link, and this
text appears without an indication that it is a link.
The text should appear with an indication (an underline), to meet
accessibility guidelines.

[[Image(Screenshot.png)]]

--

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:1>

Django

unread,
Oct 20, 2023, 10:09:46 AM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Dmitriy Chukhin):

* Attachment "Screenshot.png" added.

Django

unread,
Oct 20, 2023, 10:09:46 AM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Dmitriy Chukhin):

* Attachment "Screenshot.png" removed.

Django

unread,
Oct 20, 2023, 11:07:41 AM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: wontfix

Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* cc: Thibaud Colas, Sarah Abderemane, Tom Carrick (added)
* status: assigned => closed
* resolution: => wontfix


Comment:

Thanks for the ticket, however, this was discussed as a part of #34038,
and at the end removed from the recommendation.

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:2>

Django

unread,
Oct 20, 2023, 12:17:09 PM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Description changed by Dmitriy Chukhin:

Old description:

> In the Django admin, some fields have text with an anchor link, and this
> text appears without an indication that it is a link.
> The text should appear with an indication (an underline), to meet
> accessibility guidelines.

> [[Image(Screenshot.png)]]

New description:

In the Django admin, some fields have text with an anchor link, and this
text appears without an indication that it is a link.
The text should appear with an indication (an underline), to meet
accessibility guidelines.

[[Image(Screenshot.png|500px)]]

--

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:3>

Django

unread,
Oct 20, 2023, 12:19:21 PM10/20/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Description changed by Dmitriy Chukhin:

Old description:

> In the Django admin, some fields have text with an anchor link, and this
> text appears without an indication that it is a link.
> The text should appear with an indication (an underline), to meet
> accessibility guidelines.

> [[Image(Screenshot.png|500px)]]

New description:

In the Django admin, some fields have text with an anchor link, and this
text appears without an indication that it is a link.
The text should appear with an indication (an underline), to meet
accessibility guidelines.

[[Image(Screenshot.png)]]

--

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:4>

Django

unread,
Oct 27, 2023, 8:14:31 AM10/27/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Thibaud Colas):

* Attachment "django 5.1dev20231027 link styles.png" added.

Django

unread,
Oct 27, 2023, 8:28:32 AM10/27/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: new

Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Thibaud Colas):

* status: closed => new
* resolution: wontfix =>


Comment:

@Marius I do not know what discussion you’re referring to in #34038 but
the resolution isn’t appropriate. Links need to be clearly identifiable.
There needs to be a way to tell the links apart from surrounding text
without relying on color. The current styles implemented in the admin are
so bad I’d qualify this as a release blocker if the changes were made in
the last release.

As a practical example, it is more or less impossible to identify where
links are in help text:

[[Image(https://code.djangoproject.com/raw-
attachment/ticket/34917/django%205.1dev20231027%20link%20styles.png)]]

As far as this issue about _links within text_, I would recommend:

- A minimum contrast ratio of ideally 4.5:1, at the vey least 3:1 between
link text color and text color. Currently we’re somewhere around 1.6:1 to
2.2:1 in the light theme, which is unacceptable.
- **And** an underline, for people who have severe color blindness.

For links outside text there are more options, but I also think the
current design choices aren’t fit for purpose.

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:5>

Django

unread,
Oct 27, 2023, 11:16:54 AM10/27/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: duplicate

Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

> The current styles implemented in the admin are so bad I’d qualify this
as a release blocker if the changes were made in the last release.

Why as a release blocker? We can decide that #34038 is not completely
fixed without an underline, but 1d0fa848e084cad62d0bb6bde3b51e4862558e57
didn't introduce any regression so it's not a release blocker.

Closing as a duplicate of #34038.

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:6>

Django

unread,
Oct 27, 2023, 11:18:33 AM10/27/23
to django-...@googlegroups.com
#34917: Links within text in the Django admin are difficult to identify
-------------------------------------+-------------------------------------
Reporter: Dmitriy Chukhin | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: duplicate
Keywords: accessibility, | Triage Stage:
anchor | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

I reopened #34038.

--
Ticket URL: <https://code.djangoproject.com/ticket/34917#comment:7>

Reply all
Reply to author
Forward
0 new messages