Re: [csswg-drafts] [css-color-adjust-1] Define what happens to SVG in forced colors mode (#3855)

Setting `forced-color-adjust: none` on SVG elements by default would _break_ any SVG that uses `currentColor` for accessibility purposes (to intentionally sync with any forced color changes).  So that's a definite no-go.

That said, I wouldn't recommend that user agents directly adjust any colors on SVG other than for text, and they should only adjust text colors if they are adding in the glyph backplate effect to preserve contrast.

(Authors could of course use the media query & system colors to create a color scheme for data viz or icons that respects the user's palette while still going beyond what `currentColor` can do.  See [Eric Bailey's CSS-Tricks article]( for examples.)

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at using your GitHub account

Received on Saturday, 20 April 2019 02:01:47 UTC