Changes between Initial Version and Version 1 of Ticket #37533


Ignore:
Timestamp:
Nov 22, 2026, 4:53:17 AM (47 minutes ago)
Author:
Alin Morosanu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37533 – Description

    initial v1  
    1212}}}
    1313
    14 Computed colours on the demo at https://thibaudcolas.github.io/django_admin_tests/latest/english/admin/auth/user/1/change/ (Django 6.2.dev20261022174430), Chromium 143 on macOS, light theme: white on #79aec8 for both hover and keyboard focus, on a calendar day and on a time option. On current main (c67d872765, run locally in Firefox), a time option reached with Tab has computed white on #79aec8, and Firefox's accessibility inspector shows 2.41 on hover for both a calendar day and a time option. In the dark theme, the same hover/focus pair is white on #264b5d (9.35:1).
     14Computed colours on the demo at https://thibaudcolas.github.io/django_admin_tests/latest/english/admin/auth/user/1/change/ (Django 6.2.dev20261022174430), Chromium 143 on macOS, light theme: white on `#79aec8` for both hover and keyboard focus, on a calendar day and on a time option. On current main (c67d872765, run locally in Firefox), a time option reached with Tab has computed white on `#79aec8`, and Firefox's accessibility inspector shows 2.41 on hover for both a calendar day and a time option. In the dark theme, the same hover/focus pair is white on `#264b5d` (9.35:1).
    1515
    1616Steps to reproduce:
    … …  
    1818 2. Open the calendar (calendar icon) or the time picker (clock icon), then hover over a day or time, or Tab to one.
    1919
    20 Related: #34036 moved `.calendar td.selected a` to `var(--secondary)` but left this rule. [https://github.com/django/django/pull/12967 PR #12967] (for #31617, closed) proposed #609ab6 for this rule, which would still be about 3.09:1. #36192 ([https://github.com/django/django/pull/21350 PR #21350]) changes these selectors from `a` to `button`, so a fix would touch the same lines.
     20Related: #34036 moved `.calendar td.selected a` to `var(--secondary)` but left this rule. [https://github.com/django/django/pull/12967 PR #12967] (for #31617, closed) proposed `#609ab6` for this rule, which would still be about 3.09:1. #36192 ([https://github.com/django/django/pull/21350 PR #21350]) changes these selectors from `a` to `button`, so a fix would touch the same lines.
    2121
    2222Thibaud Colas pointed this out to me on Discord. I'm a Djangonaut in Session 7 and would like to work on it.
Back to Top