diff --git a/ChangeLog b/ChangeLog index 18e91008a..a4f73db8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -69,6 +69,7 @@ danbarry - bug #1910621 [display] part 2: do not display a BINARY content as text - patch #1957998 [display] No tilde for InnoDB row counter when we know it for sure, thanks to Vladyslav Bakayev - dandy76 +- bug #1955572 [display] alt text causes duplicated strings 2.11.6.0 (2008-04-29) - bug #1903724 [interface] Displaying of very large queries in error message diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 2081d3497..7cf93d60f 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1543,8 +1543,11 @@ function PMA_getTab($tab) // display icon, even if iconic is disabled but the link-text is missing if (($GLOBALS['cfg']['MainPageIconic'] || empty($tab['text'])) && isset($tab['icon'])) { + // avoid generating an alt tag, because it only illustrates + // the text that follows and if browser does not display + // images, the text is duplicated $image = '%2$s%2$s'; + .'%1$s" width="16" height="16" />%2$s'; $tab['text'] = sprintf($image, htmlentities($tab['icon']), $tab['text']); } // check to not display an empty link-text