Thomas Dalton wrote:
2008/6/16 Lane, Ryan:
It's better to display it as alt text, so that the irrelevant information is hidden if the browser does in fact support images (which will practically always be the case).
Wouldn't this cause confusion for people using screen readers?
Yes, I think it would. Alt text isn't just used if the image hasn't loaded, it's used whenever the image isn't available to the user, which includes screen readers.
What about using "You will be logged into $1 on the load of this image"? So, if you're reading it you have probably have NOT loaded it, but people with screen readers, text browsers or viewing the page source will get the exact answer. Which of course means they'll need to figure out by themselves if they have images enabled or not, but we don't need to guess that much.
Simetrical:
On Mon, Jun 16, 2008 at 3:47 PM, Brion Vibber wrote:
<iframe>s probably would work, actually. *Shudder*. :D
Do text browsers generally load iframes? I imagine so. If so, it seems like it would be a better solution all around.
I bet there're some wanne-be browsers out there supporting images and not iframes. Particulary if they only targetted preferred versions of XHTML.