MDL-72672 mod_lesson: add aria-label to actions select element
This commit is contained in:
committed by
Jun Pataleta
parent
58f859fda6
commit
baa337515e
@@ -451,6 +451,7 @@ class mod_lesson_renderer extends plugin_renderer_base {
|
||||
|
||||
$addpageurl = new moodle_url('/mod/lesson/editpage.php', array('id'=>$this->page->cm->id, 'pageid'=>$page->id, 'sesskey'=>sesskey()));
|
||||
$addpageselect = new single_select($addpageurl, 'qtype', $options, null, array(''=>get_string('addanewpage', 'lesson').'...'), 'addpageafter'.$page->id);
|
||||
$addpageselect->attributes = ['aria-label' => get_string('actions', 'lesson')];
|
||||
$addpageselector = $this->output->render($addpageselect);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user