#36127: The link is not displayed when str is blank in admin. -------------------------------+------------------------------------ Reporter: Antoliny | Owner: Antoliny Type: Bug | Status: assigned Component: contrib.admin | Version: 5.1 Severity: Normal | Resolution: Keywords: link | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 1 -------------------------------+------------------------------------ Comment (by Antoliny):
Replying to [comment:19 c-stange]: > I think the current UI design creates a potential source of confusion by placing a blue underscored "-" link directly adjacent to a green "+" button under "My Actions". > Users might naturally assume that the "-" performs the opposite operation of the "+", leading to incorrect expectations about the link's actual function. > > Maybe you could use an underscore character (_) as an alternative to the hyphen (-) notation. This approach eliminates the requirement for translations while preventing potential user misconceptions regarding the minus symbol's intended functionality. I also have doubts about whether the "-" symbol is appropriate for representing empty values. This was mentioned in my PR as well, and there was feedback suggesting that "-" may not be suitable for conveying blank values when using a screen reader. However, I think this issue should be handled separately from this ticket, and it probably requires a deeper discussion. I’ll consider creating a discussion on this topic later. Thank you for sharing your valuable thoughts! -- Ticket URL: <https://code.djangoproject.com/ticket/36127#comment:23> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/01070196900b1c27-24cf3a8e-de30-436d-8fb9-a45b15ba092a-000000%40eu-central-1.amazonses.com.