You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please be specific (in the title and issue) about what you want to change:
So far as I can tell, color-contrast() intends to support foreground versus background. However, for sites which hide link underlining or other link marking, the site would also need to support foreground versus link and background versus link. For example, foreground versus link for WCAG 2.0 AA needs to have 3:1 contrast and background versus link for WCAG 2.0 AA needs to have 4.5:1 contrast.
So, does color-contrast also need a syntax and means to support the three-way comparison of:
Is there a need for the function to support multiple constraints for the set of candidate colors? What happens when you pit the default color candidates (white, black) against possibly-conflicting constraints?
Your link color vs. text and background could possibly be expressed along the lines of:
So far as I can tell, color-contrast() intends to support foreground versus background. However, for sites which hide link underlining or other link marking, the site would also need to support foreground versus link and background versus link. For example, foreground versus link for WCAG 2.0 AA needs to have 3:1 contrast and background versus link for WCAG 2.0 AA needs to have 4.5:1 contrast.
So, does color-contrast also need a syntax and means to support the three-way comparison of:
?
2. Computing a Contrasting Color
The text was updated successfully, but these errors were encountered: