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

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

From: Ian Yang <ian.html@gmail.com>
Date: Sat, 14 Jan 2017 16:07:45 +0800
Message-ID: <CAFhBhuPne0a-CRer+Q9-C9osd5oHMNT6Taf+Pgzip4wrSrvAhQ@mail.gmail.com>
To: CSS public list <www-style@w3.org>
Hi all,

As you may have heard, assistive technologies are currently regarding CSS
generated contents ::before and ::after as part of the document and are
reading them.

On the contrary, it looks like that web browsers such as Google Chrome and
Firefox aren't regarding ::before and ::after as part of the document
because they are making those contents uncopiable.

Personally, I find this issue quite confusing. Judging from the
presentational nature of CSS, it seems to me that assistive technologies'
behaviors on this matter are not working as intended. But I'm not sure
about that because I can find no official word from W3C on this matter.

I might have missed something. Should CSS generated contents ::before and
::after really become part of the document?

Sincerely,
Ian Yang
Received on Saturday, 14 January 2017 08:08:22 UTC

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