Hello everybody.
I want to use empty spans for positioning Eye-candy images on my site.
Would this violate semantics and accessibility, if it is the best
solution for our visitors and for ourselves?
Thanks,
John
--
John S. Britsios
Web Architect Marketing Consultant
Webnauts Net (Main
Using empty spans (or a div) to hold background image for design elements is used quite frequently done because the images are ignored (even by readers so you don't need alt text) and doesn't interfere with accessibility
Semantics are not broken, you aren't using headings, or definition listsCSS
John S. Britsios wrote:
I want to use empty spans for positioning Eye-candy images on my site.
Would this violate semantics and accessibility, if it is the best
solution for our visitors and for ourselves?
Yeah, this is probably the best way to do it, as long as there is not an
existing
Susan R. Grossman wrote:
Semantics are not broken, you aren't using headings, or definition lists
CSS is all about separating design from content, and that's what this does.
On the other hand, you're peppering your markup (which should define
content in meaningful ways) with empty