mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02:00
MDL-30884 quiz: ARIA attribute for the coutdown timer.
This commit is contained in:
parent
2d7c5eeeea
commit
e498f21421
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user