- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Thu, 06 Nov 2014 11:05:18 +0100
- To: "www-style@w3.org" <www-style@w3.org>
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