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: Liam R. E. Quin <liam@w3.org>
Date: Sat, 14 Jan 2017 04:05:04 -0500
Message-ID: <1484384704.26891.142.camel@w3.org>
To: Ian Yang <ian.html@gmail.com>, CSS public list <www-style@w3.org>
On Sat, 2017-01-14 at 16:07 +0800, Ian Yang wrote:
>  Judging from the
> presentational nature of CSS, it seems to me that assistive
> technologies'
> behaviors on this matter are not working as intended.

There's nothing to say that a reader can't make use of presentation to
improve the user's experience.

> I might have missed something. Should CSS generated contents ::before
> and
> ::after really become part of the document?
That depends on what you mean by "part of the document". They are
reflected in the CSS OM but not in the DOM; they are certainly part of
the document in an informal sense just as much as images are part of
the document even though those, too, are (usually) external to the
HTML. 

Liam


-- 
Liam R. E. Quin <liam@w3.org>
The World Wide Web Consortium (W3C)
Received on Saturday, 14 January 2017 09:05:12 UTC

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