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

On 06/11/2014 02:29, Tab Atkins Jr. wrote:

> In HTML, the alt attribute works literally by subbing the text in for
> the image.  There's no difference, to a screen reader, between "<img
> alt=new> <img alt=warning>" and "new warning".

(resent, sorry, I originally replied only to Tab)

No. Some readers will read "IMAGE new IMAGE warning" in the former case.
Ask TV Raman.

> Why do you think this should be different in CSS?  If this mechanism
> is *insufficient*, that's one thing.  But as it stands, it's equally
> powerful to HTML to say:
>
> .new.warning {
>    content: url("new.jpg") url("warning.jpg");
>    alt: "new warning";
> }

Again no. Some readers will read that "IMAGE new warning" instead
of "IMAGE new IMAGE warning". The user will then lose some context.

</Daniel>

Received on Thursday, 6 November 2014 10:05:42 UTC