in reply to clearpixel alt texts

Juerd: you should probably use a title like "(OT) clearpixel". The (OT) let's people know that this thread is off-topic. I use that quite a bit and so far I haven't been flamed for it :) That being said, you could use alt="" to set the text to nothing, but there are several browsers out there for visually impaired people and I suspect that they will handle that differently.

With proper CSS, you could eliminate the clear pixels entirely. Even if the gif exists, sometimes a browser will fail to load it and then you get a bunch of broken images in your browser. Very unprofessional.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Replies are listed 'Best First'.
Re: (Ovid) Re: clearpixel alt texts
by Juerd (Abbot) on Dec 16, 2001 at 23:13 UTC
    I'm not quite sure if this is off topic... Please explain to me why it is.

    As for the alt-attribute: browsers for the visually impaired display (through text, braille or speech) whatever is in the alt-attribute. They should not and fortunately do not say a thing when alt is set but empty. If it's not set at all, some do nothing, some display the picture's filename.
    Correct CSS would indeed be a better solution.

    This is what links displays:
    clearpixel (concentrate on your petition) clearpixelJoe clearpixel ____________________ [ searchbutton ] perlmonks
    Alt should provide alternative text for images that need it, or no text for images that are just for layout or decoration.
    2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$