mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Merge pull request #618 from misol/master
Provide alternative text for web accessibility
This commit is contained in:
commit
e892d12b63
3 changed files with 6 additions and 6 deletions
|
|
@ -68,7 +68,7 @@ class image_gallery extends EditorHandler
|
|||
$output = array();
|
||||
for($i=0;$i<count($gallery_info->images_list);$i++)
|
||||
{
|
||||
$output[] = sprintf('<img src="%s" alt="" />', $gallery_info->images_list[$i]);
|
||||
$output[] = sprintf('<img src="%s" alt="Gallery image no.%d" />', $gallery_info->images_list[$i], $i+1);
|
||||
}
|
||||
$output[] = '<br />';
|
||||
return implode('<br />', $output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue