W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-pseudo-4] Add a highlight pseudo-element for find-in-page or scroll-to-text (#5233)

From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Jun 2020 23:15:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-645674359-1592435742-sysbot+gh@w3.org>
One possible concern would be a developer setting those colors to something with no contrast to the other text on the page, but I'm not sure if that is any worse than other things the developers could do to fight with the user or make mistakes regarding contrast.

If that is a significant concern, we could add normative language to require a certain amount of contrast with the background of the text, and if there isn't then allow UAs to ignore the color.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5233#issuecomment-645674359 using your GitHub account
Received on Wednesday, 17 June 2020 23:15:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC