Support » Themes and Templates » Alt Text Not Showing

  • Resolved kennethwatt


    I have the following code. When I hover over it, the alt text doesn’t show.
    Any help much appreciated.
    <img src="<?php bloginfo('stylesheet_directory'); ?>/icons/chart.png" alt="Vote on the Polls" />
    Thanks in advance,

Viewing 4 replies - 1 through 4 (of 4 total)
  • “the alt text doesn’t show”

    Wht browser are you using?


    Sorry – Must be a Chrome Issue.

    Your expectations are due to a bug in Internet Explorer. ALT text was never intended to be displayed as hover or tooltip text. ALT text is intended to be displayed ONLY when the image is not displayable, such as in text-only browsers and screen readers for the blind. IE made a mistake in their implementation long ago, and we all got used to it.

    The TITLE text causes hover / tooltip text to be displayed by browsers that are standards compliant.

    Specify title=”…some text…” as an additional attribute on the <img > element and you will see what you expect.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Alt Text Not Showing’ is closed to new replies.