Skip to content

Commit

Permalink
MDL-34561 accessibility compliance for assignment module: add accessh…
Browse files Browse the repository at this point in the history
…ide class
  • Loading branch information
Rossiani Wijaya committed Aug 6, 2012
1 parent 519adbc commit ac1bbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assignment/lib.php
Expand Up @@ -1475,7 +1475,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 {
Expand Down

0 comments on commit ac1bbfa

Please sign in to comment.