-
Notifications
You must be signed in to change notification settings - Fork 741
Open
Labels
a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.Group bringing to attention of a11y, or tracked by the a11y Group but not needing response.css-color-6meta
Description
This is a meta-issue for the various color-contrast()
issues. Last updated Feb 16th, 2024.
Level 5 contrast-color()
(MVP)
- [css-color-6]
contrast-color()
MVP in Level 5 #9166 - [css-color-5] Requirements for light and dark colors returned by
contrast-color(<color>)
#9970 - [css-color-6] contrast-color() and gamut mapping #8539
Level 6 contrast-color()
A summary of the current situation is as follows:
- Biggest roadblock: There is currently no problem-free contrast algorithm we could use as a default.
- WCAG 2.1 algorithm, despite very wide usage, is severely flawed, even for only grayscale colors, or only picking between black and white. False positives/negatives up to 40% (!).
- APCA which has been advertised as a successor has issues too, including a patent disclosure (not an exclusion), which makes baking it in CSS tricky.
- There are other contrast algorithms (Weber, Michelson etc) but do not generally produce good results.
- Relevant issues:
- Satisfy more of designers' use cases
- [css-color-6] color-contrast() with automatic continuous lightness adjustment #5153
- [css-color] color-contrast() should support ranges of candidate colors, not just discrete color candidates #7360
- [css-color-6] color-contrast() should take transparency into account #7358
- [css-color-6] Does color-contrast() need to support three color contrast comparisons? #8457
- Syntax
- [css-color-6] color-contrast() syntax is confusing #7354
- [css-color-6] color-contrast() should distinguish foreground and background #7359
- [css-color-6] Behavior of color-contrast() when no level is specified #7556
- [css-color-6] Rename color-contrast()? #7557
- [css-color-6] Let's finally settle contrast-color() syntax #7937
- [css-color-6]
contrast-color()
syntax proposal #7954
- Shortcuts and improvements over syntax
(Please refrain from discussing the sub-issues here, but in the relevant linked issues.)
argyleink, castastrophe, BenjaminAster and ctcpip
Metadata
Metadata
Assignees
Labels
a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.Group bringing to attention of a11y, or tracked by the a11y Group but not needing response.css-color-6meta
Type
Projects
Status
Tuesday