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