Changes between Initial Version and Version 1 of Ticket #35888
- Timestamp:
- Nov 5, 2024, 3:28:34 PM (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35888 – Description
initial v1 6 6 - "Warning" icon, `#efb80b` on `#ffc`, contrast of 1.77:1 7 7 8 9 8 Here’s a representation of all theoretical contrast issues (large image): 10 9 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)]] 12 11 13 12 Link 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 14 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. 14 15 15 16 ---