Re: [csswg-drafts] [css-color-adjust] Should forced-colors support `color-mix()`? (#11097)

I said this in the IRC chat, but just wanted to emphasize that the case Emilio brought up to argue for allowing mixing (making a button's text partially transparent to indicate a disabled state) is *precisely the behavior we need to be worried about*, because it lowers the contrast of the text against the background and potentially renders it hard to read for users who need high contrast in the first place.

So allowing this falls into the "might actually harm the users in question". If the author isn't specifically writing `(forced-colors)`-aware styles, it's probably better for at least some users to have the disabledness simply *not be visible* (because the text is forced back into `ButtonText`) but the button still be readable, versus it being low-contrast and difficult to read.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11097#issuecomment-2489245944 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 20 November 2024 18:06:54 UTC