]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4773. Added alt attribute in page icons.
authorSem <sembrestels@riseup.net>
Sun, 5 Aug 2012 00:18:27 +0000 (02:18 +0200)
committerSem <sembrestels@riseup.net>
Sun, 5 Aug 2012 00:18:27 +0000 (02:18 +0200)
mod/pages/views/default/pages/icon.php

index d3b749eb81ce9b2f5e5f8bb0d13c2bfb25a9975f..cba034ec40d94deed13b54d548173dfda82484d5 100644 (file)
@@ -21,5 +21,5 @@ if (!in_array($vars['size'], array('small', 'medium', 'large', 'tiny', 'master',
 ?>
 
 <a href="<?php echo $annotation->getURL(); ?>">
-       <img src="<?php echo $entity->getIconURL($vars['size']); ?>" />
+       <img alt="<?php echo $entity->title; ?>" src="<?php echo $entity->getIconURL($vars['size']); ?>" />
 </a>