starwatcher: Western windmill, clouds in background, trees around base. (Default)
StarWatcher ([personal profile] starwatcher) wrote in [community profile] accessibility_fail 2010-04-02 03:42 pm (UTC)

Re: width and height in images

.
I've been experimenting in my DW. Turns out, the Flickr code includes all that (I never noticed), so I've been semi-compliant without knowing. (I load all the pics I want to show on Flickr, and use their version of "paste this code on another page".)

But Flickr's TOS ask that pics on another site lead back to the original. I assume that it's the first part of this code -

<a href="http://www.flickr.com/photos/starwatcher307/4127388572/" title="Meeting by StarWatcher307, on Flickr"><img src="http://farm3.static.flickr.com/2592/4127388572_4f25718715_m.jpg" width="240" height="171" alt="two horses in field, touching noses" /></a>

So, is the <a href part of the code still compatible with screen readers? (I would expect so, but unwarranted assumptions can kick us in the ass.)

Your earlier example showed the alt description first, with size following. Flickr has it reversed. Both versions show the correct visual image on the page but, again, will it make a difference to the screen reader?
.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting