As far as I know in case sometimes your user has problems seeing images, then a mouse over will tell him abou the product/category
As far as I know in case sometimes your user has problems seeing images, then a mouse over will tell him abou the product/category
People browsing with images turned off and for validation as well.
Mmm... Ok. They all sound like valid reasons for keeping alt text, but is there a way to stop the alt text from popping up on mouse-over?
Do this changeOriginally Posted by Alex Clarke
// alt is added to the img tag even if it is null to prevent browsers from outputting
// the image filename as default
// $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"';
$image = '<img src="' . zen_output_string($src) .'"';
if (zen_not_null($alt)) {
//$image .= ' title=" ' . zen_output_string($alt) . ' "';
}