Re: [csswg-drafts] [css-content] Clearer syntax for alternative text for content (#3899)

A single textual alternative may also not cut it.

~~~~ css
.new::before {
 content: 
  /* preferred image */ url(sprites.svg#star) /
  /* alternative file format*/ url(star.png) /
  /* alternative emoji */ "\1F195" /
  /* alternative symbol */ "☆" /
  /* alternative text for TTS */ "New!";
}
~~~~

It may be better to leave at least some of that functionality to the [`image()` function introduced with level 4 of CSS Images](https://drafts.csswg.org/css-images-4/#image-notation). 

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

Received on Wednesday, 8 May 2019 07:31:56 UTC