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

Re: [css-pseudo] please make sure pseudo-element "alt" property makes it into next ED

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 05 Nov 2014 20:51:32 +0100
Message-ID: <545A7FC4.3090708@disruptive-innovations.com>
To: www-style@w3.org
On 05/11/2014 19:01, Alan Stearns wrote:

>> 2. if we want to make generated content accessible, then we need to
>>     make all of it accessible correctly; since the content property
>>     can specify MULTIPLE IMAGES, we need to make each of them have its
>>     own alt text. The current proposal does not allow that.
> Do you have an example of multiple *fallback* images where you’d want the
> alt text to differ depending on which image loaded?

I do. Found in a live web page:

p.new::before {
   content: url(new.png);

p.important::before {
   content: url(warning.png);

p.new.important::before {
   content: url(warning.png) url(new.png);

Received on Wednesday, 5 November 2014 19:51:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC