diff --git a/mod/quiz/renderer.php b/mod/quiz/renderer.php index d8fcae117c3..329ff322d17 100644 --- a/mod/quiz/renderer.php +++ b/mod/quiz/renderer.php @@ -275,7 +275,8 @@ class mod_quiz_renderer extends plugin_renderer_base { return html_writer::tag('div', get_string('timeleft', 'quiz') . ' ' . html_writer::tag('span', '', array('id' => 'quiz-time-left')), - array('id' => 'quiz-timer')); + array('id' => 'quiz-timer', 'role' => 'timer', + 'aria-atomic' => 'true', 'aria-relevant' => 'text')); } /**