[Django] #35382: Low contrast background color for fieldset headings within inline formsets

14 views
Skip to first unread message

Django

unread,
Apr 17, 2024, 10:42:48 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-----------------------------------------+-------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Keywords: accessibility
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+-------------------------------
`.inline-related fieldset.module h3` has a background color of `#bcd` and
text color of `#fff`
This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
here [https://webaim.org/resources/contrastchecker/])
--
Ticket URL: <https://code.djangoproject.com/ticket/35382>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 17, 2024, 10:43:30 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Sarah Boyce):

* Attachment "Color.png" added.

Django

unread,
Apr 17, 2024, 10:45:06 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Sarah Boyce:

Old description:

> `.inline-related fieldset.module h3` has a background color of `#bcd` and
> text color of `#fff`
> This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
> here [https://webaim.org/resources/contrastchecker/])

New description:

`.inline-related fieldset.module h3` has a background color of `#bcd` and
text color of `#fff`
This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
here [https://webaim.org/resources/contrastchecker/])

See "Name" here:
[Image(Color.png)]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:1>

Django

unread,
Apr 17, 2024, 10:46:44 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Sarah Boyce:

Old description:

> `.inline-related fieldset.module h3` has a background color of `#bcd` and
> text color of `#fff`
> This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
> here [https://webaim.org/resources/contrastchecker/])
>
> See "Name" here:
> [Image(Color.png)]

New description:

`.inline-related fieldset.module h3` has a background color of `#bcd` and
text color of `#fff`
This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
here [https://webaim.org/resources/contrastchecker/])

See "Name" here:
[Image(https://code.djangoproject.com/attachment/ticket/35382/Color.png)]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:2>

Django

unread,
Apr 17, 2024, 10:48:26 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Sarah Boyce:

Old description:

> `.inline-related fieldset.module h3` has a background color of `#bcd` and
> text color of `#fff`
> This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
> here [https://webaim.org/resources/contrastchecker/])
>
> See "Name" here:
> [Image(https://code.djangoproject.com/attachment/ticket/35382/Color.png)]

New description:

`.inline-related fieldset.module h3` has a background color of `#bcd` and
text color of `#fff`
This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
here [https://webaim.org/resources/contrastchecker/])

See "Name" here:
[[Image(https://code.djangoproject.com/attachment/ticket/35382/Color.png)]]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:3>

Django

unread,
Apr 17, 2024, 10:48:45 AM4/17/24
to django-...@googlegroups.com
[[Image(Color.png)]]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:4>

Django

unread,
Apr 17, 2024, 11:06:07 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Sarah Boyce:

Old description:

> `.inline-related fieldset.module h3` has a background color of `#bcd` and
> text color of `#fff`
> This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
> here [https://webaim.org/resources/contrastchecker/])
>
> See "Name" here:
> [[Image(Color.png)]]

New description:

`.inline-related fieldset.module h3` has a background color of `#bcd` and
text color of `#fff`
This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
here [https://webaim.org/resources/contrastchecker/])

See "Name" under Child # here:
[[Image(Color.png)]]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:5>

Django

unread,
Apr 17, 2024, 11:09:04 AM4/17/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Sarah Boyce:

Old description:

> `.inline-related fieldset.module h3` has a background color of `#bcd` and
> text color of `#fff`
> This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
> here [https://webaim.org/resources/contrastchecker/])

New description:

`.inline-related fieldset.module h3` has a background color of `#bcd` and
text color of `#fff`
This is hard to read and fails WCAG AA and WCAG AAA (this can be tested
here [https://webaim.org/resources/contrastchecker/])

Under Child: #1 and above Fields, see "Name" with the poor contrast
[[Image(Color.png)]]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:1>

Django

unread,
Apr 18, 2024, 1:06:02 PM4/18/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Natalia Bidart):

* component: Uncategorized => contrib.admin
* stage: Unreviewed => Accepted
* type: Uncategorized => Bug

Comment:

Thank you Sarah for the report, it makes sense. I checked and the
background color is at least 16 years old!

Do you have any concrete suggestion for the new font color?
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:2>

Django

unread,
Apr 18, 2024, 1:12:51 PM4/18/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Sarah Boyce):

* Attachment "suggestion.png" added.

Django

unread,
Apr 18, 2024, 1:13:30 PM4/18/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by Sarah Boyce):

Black `#000`?
[[Image(suggestion.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:3>

Django

unread,
Apr 18, 2024, 1:24:58 PM4/18/24
to django-...@googlegroups.com
#35382: Low contrast background color for fieldset headings within inline formsets
-------------------------------+------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: accessibility | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by Natalia Bidart):

Looks good! I checked the `base.css` and noticed we have a `--body-fg:
#333` which also seems like a good option. I would remove the bold though!
--
Ticket URL: <https://code.djangoproject.com/ticket/35382#comment:4>
Reply all
Reply to author
Forward
0 new messages