-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Labels
Closed Rejected as InvalidCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-color-4Current WorkCurrent Work
Description
https://drafts.csswg.org/css-color-4/#contrast-adjuster
The heading of this section "Guaranteeing Adequate Contrast" is misleading because the algorithm ignores the alpha channel. A note should be added that warns about this detail.
I do not think that the contrast adjuster should take alpha into account. This would require more context ("is it background or font color?", "if it is background, what is behind that?"). Ignoring the context would mean to assume worst case. See also this article for an in-depth discussion of this topic.
Metadata
Metadata
Assignees
Labels
Closed Rejected as InvalidCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-color-4Current WorkCurrent Work