$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();
}
// 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;
}