MDL-7434 all images that convey information should have alt text to convey that information - part 1

This commit is contained in:
skodak 2006-11-24 20:16:37 +00:00
parent 536a640218
commit 344044b28e
16 changed files with 42 additions and 36 deletions

View file

@ -74,6 +74,8 @@
$strchoosefiletoedit = get_string('langchoosefile', 'admin');
$streditennotallowed = get_string('langnoeditenglish', 'admin');
$strfilecreated = get_string('langfilecreated', 'admin');
$strprev = get_string('previous');
$strnext = get_string('next');
// FIXME / TODO
// remove following lines after adding string into proper english lang pack
@ -448,9 +450,9 @@
if (LANG_DISPLAY_MISSING_LINKS) {
$missingtarget = '<a name="missing'.$missingcounter.'"></a>';
$missingnext = '<a href="#missing'.($missingcounter+1).'">'.
'<img src="' . $CFG->pixpath . '/t/down.gif" height="11" width="11" border="0" alt="" /></a>';
'<img src="' . $CFG->pixpath . '/t/down.gif" height="11" width="11" border="0" alt="'.$strnext.'" /></a>';
$missingprev = '<a href="#missing'.($missingcounter-1).'">'.
'<img src="' . $CFG->pixpath . '/t/up.gif" height="11" width="11" border="0" alt="" /></a>';
'<img src="' . $CFG->pixpath . '/t/up.gif" height="11" width="11" border="0" alt="'.$strprev.'" /></a>';
} else {
$missingtarget = '';
$missingnext = '';