diff --git a/library/ZendAfi/View/Helper/TagBanniere.php b/library/ZendAfi/View/Helper/TagBanniere.php index 3168000c42b316f9ac0f6725ef286e3e46402f4c..cdde16a5549e0215ca8ebd541ed39230c9857821 100644 --- a/library/ZendAfi/View/Helper/TagBanniere.php +++ b/library/ZendAfi/View/Helper/TagBanniere.php @@ -32,7 +32,7 @@ class ZendAfi_View_Helper_TagBanniere extends Zend_View_Helper_HtmlElement { $top_profil = $this->_profil->getParentsAndSelf()[0]; - return sprintf('<div id="banniere">%s<a class="home" href="%s" style="display:block">%s</a></div>', + return sprintf('<div id="banniere">%s<a class="home" alt="bandeau" href="%s" style="display:block">%s</a></div>', $this->_getLogos(), $this->view->url(['id_profil' => $top_profil->getId()], null, diff --git a/library/ZendAfi/View/Helper/TagImg.php b/library/ZendAfi/View/Helper/TagImg.php index 64d7f71eca655d4dc7a5321df4b0a7bc3b630ec3..8290064188d123805d1b522ead1d83f27f997fcf 100644 --- a/library/ZendAfi/View/Helper/TagImg.php +++ b/library/ZendAfi/View/Helper/TagImg.php @@ -25,6 +25,8 @@ class ZendAfi_View_Helper_TagImg extends Zend_View_Helper_HtmlElement { * @return string */ public function tagImg($url, Array $attribs = array()) { + if (!array_key_exists('alt', $attribs) && array_key_exists('title',$attribs)) + $attribs['alt']=$attribs['title']; if (!array_key_exists('alt', $attribs)) $attribs['alt'] = ''; diff --git a/library/ZendAfi/View/Helper/TagSlideshow.php b/library/ZendAfi/View/Helper/TagSlideshow.php index 2310d851d651fbc7ef3f62424db262b88056e43f..7fcae0d8fd0305c0e52649fe2dacc1025c1fa280 100644 --- a/library/ZendAfi/View/Helper/TagSlideshow.php +++ b/library/ZendAfi/View/Helper/TagSlideshow.php @@ -109,7 +109,7 @@ class ZendAfi_View_Helper_TagSlideshow extends Zend_View_Helper_HtmlElement { '$(\'%s\').cycle(%s); var container = $(\'%1$s\').parent(); container.addClass(\'slideshow\'); - container.prepend(\'<div class="controls"><a href="#"></a><a href="#"></a></div>\'); + container.prepend(\'<div class="controls"><a href="#"> </a><a href="#"> </a></div>\'); container.find(\'.controls a:first-child\').click( function(event){ event.preventDefault();