Permalink
Browse files

MDL-36905 accessibility for assignment grading: add label for grading…

… actions and operations select options
  • Loading branch information...
1 parent f42c34a commit 49f0c151dd54a13ae39fcc6c1733251916a9805c @rwijaya rwijaya committed Nov 29, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 mod/assign/gradingbatchoperationsform.php
  2. +2 −0 mod/assign/lang/en/assign.php
  3. +1 −0 mod/assign/locallib.php
@@ -70,7 +70,7 @@ function definition() {
$mform->addElement('hidden', 'returnaction', 'grading');
$objs = array();
- $objs[] =& $mform->createElement('select', 'operation', '', $options);
+ $objs[] =& $mform->createElement('select', 'operation', get_string('chooseoperation', 'assign'), $options);
$objs[] =& $mform->createElement('submit', 'submit', get_string('go'));
$mform->addElement('group', 'actionsgrp', get_string('batchoperationsdescription', 'assign'), $objs, ' ', false);
@@ -72,6 +72,8 @@
$string['blindmarking'] = 'Blind marking';
$string['blindmarking_help'] = 'Blind marking hides the identity of students to markers. Blind marking settings will be locked once a submission or grade has been made in relation to this assignment.';
$string['changegradewarning'] = 'This assignment has graded submissions and changing the grade will not automatically re-calculate existing submission grades. You must re-grade all existing submissions, if you wish to change the grade.';
+$string['choosegradingaction'] = 'Grading action';
+$string['chooseoperation'] = 'Choose operation';
$string['comment'] = 'Comment';
$string['completionsubmit'] = 'Student must submit to this activity to complete it';
$string['conversionexception'] = 'Could not convert assignment. Exception was: {$a}.';
@@ -2259,6 +2259,7 @@ private function view_grading_table() {
}
$gradingactions = new url_select($links);
+ $gradingactions->set_label(get_string('choosegradingaction', 'assign'));
$gradingmanager = get_grading_manager($this->get_context(), 'mod_assign', 'submissions');

0 comments on commit 49f0c15

Please sign in to comment.