W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-content] Request for note regarding selection, search, and accessibility of generated content

From: Michiel Bijl <michiel@agosto.nl>
Date: Mon, 23 Nov 2015 13:32:46 +0100
Cc: Joanmarie Diggs <jdiggs@igalia.com>, www-style list <www-style@w3.org>, W3C WAI Protocols & Formats <public-pfwg@w3.org>
Message-Id: <1FE41873-A120-4943-87F3-1AFE724CDD29@agosto.nl>
To: Florian Rivoal <florian@rivoal.net>
Hi Florian,

> On 23 Nov 2015, at 03:37, Florian Rivoal <florian@rivoal.net> wrote:
> By default (as per the legacy behavior), generated content in pseudo elements is not searchable/copyable/selectable. However, using the user-select property on the pseudos could make them searchable/copyable/selectable.
> - Florian

That doesn’t sound like a viable solution; it’s essentially the same as having to add box-sizing: border-box; to everything.

Are there cases where it is preferable the user cannot select text in generated content? And do those outnumber the cases where it’s preferable they can select it?

We don’t want to add to this list: https://wiki.csswg.org/ideas/mistakes

Received on Monday, 23 November 2015 12:34:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC