Merge branch 'MDL-61129-fix-accessibility-on-tables-mod_survey_Moodle-33' of https://github.com/guillalva06/moodle into MOODLE_33_STABLE

This commit is contained in:
David Monllao
2018-04-10 07:59:22 +02:00
+2 -1
View File
@@ -537,6 +537,7 @@ function survey_print_multi($question) {
$P = "";
}
echo "<colgroup colspan=\"7\"></colgroup>";
echo "<tr class=\"smalltext\"><th scope=\"row\">$strresponses</th>";
echo "<th scope=\"col\" class=\"hresponse\">". get_string('notyetanswered', 'survey'). "</th>";
while (list ($key, $val) = each ($options)) {
@@ -544,7 +545,7 @@ function survey_print_multi($question) {
}
echo "</tr>\n";
echo "<tr><th scope=\"col\" colspan=\"7\">$question->intro</th></tr>\n";
echo "<tr><th scope=\"colgroup\" colspan=\"7\">$question->intro</th></tr>\n";
$subquestions = survey_get_subquestions($question);