mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
removed space from alt attribute, use empty "" insted according to accessibility recommendations
This commit is contained in:
parent
30e113f4fa
commit
28b52b8607
@ -723,7 +723,7 @@ function displaydir ($wdir) {
|
||||
$fileurl = rawurlencode(dirname($wdir));
|
||||
print_cell();
|
||||
// alt attribute intentionally empty to prevent repetition in screen reader
|
||||
print_cell('left', '<a href="index.php?id='.$id.'&wdir='.$fileurl.'&choose='.$choose.'"><img src="'.$CFG->pixpath.'/f/parent.gif" height="16" width="16" alt=" " /> '.get_string('parentfolder').'</a>', 'name');
|
||||
print_cell('left', '<a href="index.php?id='.$id.'&wdir='.$fileurl.'&choose='.$choose.'"><img src="'.$CFG->pixpath.'/f/parent.gif" height="16" width="16" alt="" /> '.get_string('parentfolder').'</a>', 'name');
|
||||
print_cell();
|
||||
print_cell();
|
||||
print_cell();
|
||||
|
@ -5402,7 +5402,7 @@ function page_doc_link($text='', $iconpath='') {
|
||||
}
|
||||
|
||||
// alt left blank intentionally to prevent repetition in screenreaders
|
||||
$str .= '<img src="' .$iconpath. '" alt=" " />' .$text. '</a>';
|
||||
$str .= '<img src="' .$iconpath. '" alt="" />' .$text. '</a>';
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user