Opened 3 weeks ago

Closed 3 weeks ago

#36558 closed Bug (fixed)

Unexpected updated design of the "Show all" link in the admin changelist pagination.

Reported by: Antoliny Owned by: Antoliny
Component: contrib.admin Version: dev
Severity: Release blocker Keywords: pagination
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

Originally, the "Show all" link had the following design on hover.


It has now been changed as follows.


https://github.com/django/django/commit/3f59711581bd22ebd0f13fb040b15b69c0eee21f

This occurred during the pagination accessibility improvement work, and the design change seems to be unintended.

Attachments (4)

changed_show_all.png (6.7 KB ) - added by Antoliny 3 weeks ago.
original_show_all.png (5.7 KB ) - added by Antoliny 3 weeks ago.
image-20250818-094905.png (12.3 KB ) - added by Natalia Bidart 3 weeks ago.
image-20250818-094929.png (13.7 KB ) - added by Natalia Bidart 3 weeks ago.

Download all attachments as: .zip

Change History (12)

by Antoliny, 3 weeks ago

Attachment: changed_show_all.png added

by Antoliny, 3 weeks ago

Attachment: original_show_all.png added

comment:1 by Antoliny, 3 weeks ago

Owner: set to Antoliny
Status: newassigned

comment:2 by Natalia Bidart, 3 weeks ago

Severity: NormalRelease blocker
Triage Stage: UnreviewedAccepted

Thank you Antoliny for this report. I can confirm that I see the same thing, though I also see the "Show all" (and all entry/rows) with an underline. Personally, the underline bothers me, but is this was already discussed with the accessibility team, I won't get into that at all.

I can reproduce the "blue hover" for "show all", I don't think it's terrible but I agree we should ensure it looks like the existing links where the hover is a darker tone of the text color. I'll attach some screenshots.

No hover:

With hover:

Last edited 3 weeks ago by Natalia Bidart (previous) (diff)

by Natalia Bidart, 3 weeks ago

Attachment: image-20250818-094905.png added

by Natalia Bidart, 3 weeks ago

Attachment: image-20250818-094929.png added

in reply to:  2 comment:3 by Antoliny, 3 weeks ago

Replying to Natalia Bidart:

Thank you Antoliny for this report. I can confirm that I see the same thing, though I also see the "Show all" (and all entry/rows) with an underline. Personally, the underline bothers me, but is this was already discussed with the accessibility team, I won't get into that at all.

I can reproduce the "blue hover" for "show all", I don't think it's terrible but I agree we should ensure it looks like the existing links where the hover is a darker tone of the text color. I'll attach some screenshots.

Thanks for adding the screenshots.
I think in my example the branch wasn’t up to date, which is why the underline didn’t appear.

The underline was added in this ticket and was intentionally included for accessibility reasons.

I also agree that it would be better if the hover state matched the existing links by showing a darker tone of the text color.
Currently, the pagination button design is being applied to "show all."

comment:4 by Antoliny, 3 weeks ago

Has patch: set

comment:5 by Sarah Boyce, 3 weeks ago

Needs tests: set

comment:6 by Antoliny, 3 weeks ago

Needs tests: unset

comment:7 by Sarah Boyce, 3 weeks ago

Triage Stage: AcceptedReady for checkin

comment:8 by Sarah Boyce <42296566+sarahboyce@…>, 3 weeks ago

Resolution: fixed
Status: assignedclosed

In 0b2493a:

Fixed #36558, Refs #36366 -- Fixed the "show all" link hover styling in admin pagination.

Regression in 3f59711581bd22ebd0f13fb040b15b69c0eee21f.

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