CSS color-contrast() work and wider discourse

Hi all,

This was a bit of a coincidence, so thought I'd post about it. We discussed this in-development CSS feature (originally part of the CSS Color Module Level 5) on the call today; we will have a comment/suggested course of action to mull over next week. However, it so happens a thread about exactly this came up and I happened to notice it on Twitter a little earlier [1]. Here's part of a conversation from Jen Simmons (Apple; CSSWG) about which CSS features devs are looking forward to. Sara Soueidan (a web dev who's a proponent of accessibility) is looking forward to color-contrast() being finalised, along with a number of others, judging by the reactions and replies. Interestingly, this feature is already in Safari, behind a flag (not other browsers) and I gather from the thread that CSSWG has been discussing it at length today too.

I've also determined, from looking at the CSSWG IRC logs [2] that they feel implementors would be against doing something (like defaulting to the "best" algorithm) that changed over time. They also spent some time discussing whether it would be wise to start with a function that just tells the user if white or black text is better on a certain background (surmising that, should the algorithm be swapped out later for a better one, that would be less of a disruptive change). However, in the end, they resolved to defer color-contrast() to CSS Color Module Level 6. Sounds like they might work on smaller things in the meantime; we'll continue to follow developments, of course, and I'll have a completed review for our next call.

Best regards,


Matthew

[1] Here's one part of the Twitter thread: https://twitter.com/jensimmons/status/1537138092141957123

[2] https://www.w3.org/2022/06/15-css-irc (search for color-contrast)
-- 
Matthew Tylee Atkinson (he/him)
--
Principal Accessibility Engineer
TPG Interactive
https://www.tpgi.com

A Vispero Company
https://www.vispero.com

--
This message is intended to be confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, please delete this message from your system and notify us immediately.
Any disclosure, copying, distribution or action taken or omitted to be taken by an unintended recipient in reliance on this message is prohibited and may be unlawful.

Received on Wednesday, 15 June 2022 20:53:24 UTC