WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: SPAM-LOW: Re: CSS content property and empty image alt values

for

From: steven
Date: Dec 14, 2010 2:21AM


Thanks Benjamin.

As much as I wanted a real presentational solution, my caution is now
heightened by that article. I totally see the benefit of people being able
to insert their own content via CSS, but it does then beg some questions.
For example:

1. Should authors such as myself should ever use CSS content for
presentational purposes? if it is also to be encouraged for no-authors for
screen reader users?

2. How can we discourage (or prevent) visual content being mixed with
non-visual content?

Maybe the simple inclusion of a type attribute for the content property?
Such as with the CSS media attribute, of 'presentation' or 'text'.

I wish these kind of things could be agreed before being implemented. At
least then, we could adopt best methods prior to their implementation.
Instead, we have to deal with limited HTML5 and CCS3 for the next 5 years,
and probably beyond that too.


Steven



-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Benjamin
Hawkes-Lewis
Sent: 13 December 2010 18:38
To: WebAIM Discussion List
Subject: Re: [WebAIM] SPAM-LOW: Re: CSS content property and empty image alt
values

On Mon, Dec 13, 2010 at 3:35 PM, < <EMAIL REMOVED> > wrote:
> I have yet to encounter a screen reader announcing anything about an image
that is located in the CSS, regardless of what method was used to get it
there.

The thread I linked to includes an example with Safari and VoiceOver:

http://lists.w3.org/Archives/Public/www-style/2010Nov/0437.html

--
Benjamin Hawkes-Lewis