MDL-34561 accessibility compliance for assignment module: add accesshide class

This commit is contained in:
Rossiani Wijaya
2012-08-06 15:17:18 +08:00
parent 7fc8b19110
commit cdbf85e62a
+1 -1
View File
@@ -1468,7 +1468,7 @@ class assignment_base {
} else if ($quickgrade) {
$attributes = array();
$attributes['tabindex'] = $tabindex++;
$menu = html_writer::label(get_string('assignment:grade', 'assignment'), 'menumenu'. $auser->id, false, array('class' => ''));
$menu = html_writer::label(get_string('assignment:grade', 'assignment'), 'menumenu'. $auser->id, false, array('class' => 'accesshide'));
$menu .= html_writer::select(make_grades_menu($this->assignment->grade), 'menu['.$auser->id.']', $auser->grade, array(-1=>get_string('nograde')), $attributes);
$grade = '<div id="g'.$auser->id.'">'. $menu .'</div>';
} else {