diff options
author | Evan Winslow <evan@elgg.org> | 2012-08-26 01:37:16 -0700 |
---|---|---|
committer | Evan Winslow <evan@elgg.org> | 2012-08-26 01:37:16 -0700 |
commit | 104d7fcb9d73bde3e9412b7e3d7cef1671b40d41 (patch) | |
tree | 44adf3a04028f4cc50bab97e5b89397b6b81ce23 /mod | |
parent | 9cef08d0411f6e31b46bd1b80cc2246e9e03f84a (diff) | |
parent | 16a2af1ee39f4ea3c15c4baebbd91dfe9198e6a8 (diff) | |
download | elgg-104d7fcb9d73bde3e9412b7e3d7cef1671b40d41.tar.gz elgg-104d7fcb9d73bde3e9412b7e3d7cef1671b40d41.tar.bz2 |
Merge pull request #355 from sembrestels/img-alt
Fixes #4773. Added alt attribute in page icons.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/pages/views/default/pages/icon.php | 2 |
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> |