Changes between Initial Version and Version 1 of Ticket #35888


Ignore:
Timestamp:
Nov 5, 2024, 3:28:34 PM (2 weeks ago)
Author:
Thibaud Colas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35888 – Description

    initial v1  
    66- "Warning" icon, `#efb80b` on `#ffc`, contrast of 1.77:1
    77
    8 
    98Here’s a representation of all theoretical contrast issues (large image):
    109
    11 For icons, per [https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast WCAG SC 1.4.11 Non-text Contrast], the minimum required "icon to background" contrast is 3:1. However I’d argue it would be better for end users and simpler for contributors to manage if Django used the same 4.5:1 minimum as [https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum SC 1.4.3 Contrast (Minimum)] (meant for text). While 3:1 could be enough in some cases, Django has quite a lot of UI components that are identified by icons only, and those icons tend to be small.
     10[[Image(https://code.djangoproject.com/raw-attachment/ticket/35888/Django%20icons%20color%20contrast%20issues.png)]]
    1211
    1312Link to the demo page I used to test this: [https://django-admin-tests.netlify.app/django_admin_tests/latest/english/admin/styleguide/ django-admin-tests styleguide].
     13
     14For icons, per [https://www.w3.org/WAI/WCAG22/quickref/#non-text-contrast WCAG SC 1.4.11 Non-text Contrast], the minimum required "icon to background" contrast is 3:1. However I’d argue it would be better for end users and simpler for contributors to manage if Django used the same 4.5:1 minimum as [https://www.w3.org/WAI/WCAG22/quickref/#contrast-minimum SC 1.4.3 Contrast (Minimum)] (meant for text). While 3:1 could be enough in some cases, Django has quite a lot of UI components that are identified by icons only, and those icons tend to be small.
    1415
    1516---
Back to Top