- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 5 Nov 2014 17:29:22 -0800
- To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Cc: www-style list <www-style@w3.org>
On Wed, Nov 5, 2014 at 5:22 PM, Daniel Glazman
<daniel.glazman@disruptive-innovations.com> wrote:
> On 06/11/2014 01:31, Tab Atkins Jr. wrote:
>
>> I don't understand. What do you think is different between
>> alt-per-url and alt-for-whole thing?
>
>
> Inject "new warning" or "new. warning." into a content reader
> then try "new" followed by "warning". You'll understand the
> difference.
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".
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";
}
~TJ
Received on Thursday, 6 November 2014 01:30:10 UTC