Re: Should CSS generated contents ::before and ::after really become part of the document?

2017-01-25 6:09 GMT+08:00 fantasai <fantasai.lists@inkedblade.net>:

> They are not part of the document, as CSS does not write to the DOM.
> However, they are required to be part of the rendered output in both
> visual and speech media, per CSS2, which specifies "media=all":
>   https://www.w3.org/TR/CSS2/generate.html#propdef-content
>
> ~fantasai
>

Thank you for confirming that again. So the spec does defines that ::before
and ::after should be read by screen readers.

Received on Wednesday, 25 January 2017 03:03:58 UTC