aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-08-26 01:37:16 -0700
committerEvan Winslow <evan@elgg.org>2012-08-26 01:37:16 -0700
commit104d7fcb9d73bde3e9412b7e3d7cef1671b40d41 (patch)
tree44adf3a04028f4cc50bab97e5b89397b6b81ce23
parent9cef08d0411f6e31b46bd1b80cc2246e9e03f84a (diff)
parent16a2af1ee39f4ea3c15c4baebbd91dfe9198e6a8 (diff)
downloadelgg-104d7fcb9d73bde3e9412b7e3d7cef1671b40d41.tar.gz
elgg-104d7fcb9d73bde3e9412b7e3d7cef1671b40d41.tar.bz2
Merge pull request #355 from sembrestels/img-alt
Fixes #4773. Added alt attribute in page icons.
-rw-r--r--mod/pages/views/default/pages/icon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/views/default/pages/icon.php b/mod/pages/views/default/pages/icon.php
index d3b749eb8..cba034ec4 100644
--- a/mod/pages/views/default/pages/icon.php
+++ b/mod/pages/views/default/pages/icon.php
@@ -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>