Permalink
Browse files

MDL-34561 accessibility compliance for assignment module: add accessh…

…ide class
  • Loading branch information...
1 parent 7fc8b19 commit cdbf85e62a3c794bf786dc01be96012522b071f9 Rossiani Wijaya committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
@@ -1468,7 +1468,7 @@ function display_submissions($message='') {
} 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 {

0 comments on commit cdbf85e

Please sign in to comment.