Merge branch 'MDL-53858' of git://github.com/timhunt/moodle

This commit is contained in:
Andrew Nicols 2016-04-28 14:13:27 +08:00 committed by Dan Poltawski
commit 4fdc9fbe20

View File

@ -1653,7 +1653,9 @@ class quiz_attempt {
$bc = new block_contents();
$bc->attributes['id'] = 'mod_quiz_navblock';
$bc->title = get_string('quiznavigation', 'quiz');
$bc->attributes['role'] = 'navigation';
$bc->attributes['aria-labelled-by'] = 'mod_quiz_navblock_title';
$bc->title = html_writer::span(get_string('quiznavigation', 'quiz'), '', array('id' => 'mod_quiz_navblock_title'));
$bc->content = $output->navigation_panel($panel);
return $bc;
}