MDL-34561 accessibility compliance for assignment module: add accesshide class
authorRossiani Wijaya <rwijaya@moodle.com>
Mon, 6 Aug 2012 07:19:51 +0000 (15:19 +0800)
committerRossiani Wijaya <rwijaya@moodle.com>
Mon, 6 Aug 2012 07:19:51 +0000 (15:19 +0800)
mod/assignment/lib.php

index 43298c9..64b4b3d 100644 (file)
@@ -1475,7 +1475,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 {