aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-05 02:18:27 +0200
committerSem <sembrestels@riseup.net>2012-08-05 02:18:27 +0200
commit16a2af1ee39f4ea3c15c4baebbd91dfe9198e6a8 (patch)
tree64220c3113b6d11fa392fa9630037989d9890ea2 /mod/pages
parent1e7b0a55af150794457b2ed77b30d4e4129325f3 (diff)
downloadelgg-16a2af1ee39f4ea3c15c4baebbd91dfe9198e6a8.tar.gz
elgg-16a2af1ee39f4ea3c15c4baebbd91dfe9198e6a8.tar.bz2
Fixes #4773. Added alt attribute in page icons.
Diffstat (limited to 'mod/pages')
-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>