W3C home > Mailing lists > Public > www-style@w3.org > January 2017

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

From: Ian Yang <ian.html@gmail.com>
Date: Wed, 25 Jan 2017 11:03:24 +0800
Message-ID: <CAFhBhuNe17o+tTfzoqiCMHVnw+4Bufgf9eo6J038Lb5pjmpvhA@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: CSS public list <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:06 UTC