Anitra Smith (anitra) wrote,
Anitra Smith

  • Mood:

One thing I really like about Firefox

I really like the way Mozilla Firefox handles "ALT" text for images. Unlike IE, it does not show alt text as a "tooltip" when the image is actually there. Instead, it uses it for its intended purpose - to be an alternative when the image cannot be displayed.

When the image can't be displayed (for whatever reason), Firefox shows you the alt text, formatted similarly to other text surrounding it, when applicable. IE shows you a "broken image" with the ALT text inside. If the image hasn't been given an explicitly defined height & width, IE expands its broken image until the entire ALT text is shown (on one line), disregarding any other formatting, such as table cells, which would cause normal text to wrap.

"Why is this a problem?" you may be asking. Well, if a developer uses some images of text (for example, because a font is not available), and uses ALT text in an appropriate fashion, it can become a problem when the image is not available. A great example is the JPMorgan Chase corporate homepage and the front page of their investor section. They use little images to highlight links of interest, whether they be upcoming webcasts, new documents available, or their latest sponsored community activity. The text is usually 2-3 lines within the image, like this:
March 30 2005 - The 2004 Annual Report is now available.

If the image breaks, this is what you get in IE:
broken image

and this is what you get in Firefox:
March 30, 2005 - The 2004 Annual Report is now available.
(This text would wrap as appropriate to the container.)

See why I like Firefox? Even when things "break" (accidentally or on purpose), they still look good.
Tags: accessibility and usability, demo

  • Buttermilk (sour milk) brownies

    Best use of sour milk EVER. This makes a cake-like brownie. In fact, I have put whipped cream frosting on it and served it as chocolate cake for my…

  • Mrs. Cooley's coffee cake

    For posterity. No idea where she got the recipe. 1 cup flour 2 tsp. baking powder 1 tsp. cinnamon 4 T. melted butter (or coconut oil) 1/2 cup…

  • White Chili

    This is a kid-friendly recipe adapted from the November 2011 Parents magazine. Recently discovered I could start it with uncooked chicken if I cook…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded