display:none has been discourages early on in the whole image
replacement discussion, as it completely hides the element
from screen readers.
Patrick
-Original Message-
From: Lorenzo Gabba @ Quirk [mailto:[EMAIL PROTECTED]
Sent: 08 September 2004 14:52
To: [EMAIL PROTECTED]
Subject: [WSG] Does display:none work on img replacements?
| CSS |
h1
{
background: url(widget-image.gif) no-repeat;
}
h1 span
{
display: none;
}
| HTML |
h1spanBuy widgets/span/h1
| Question |
Is this an acceptable alternative to #5 on:
http://www.evolt.org/article/Ten_CSS_tricks_you_may_not_know/1
7/60369/index.html
... or will search engines ignore the contents of the span tag?
**
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list getting help
**
**
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list getting help
**