mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 08:30:04 +01:00
MDL-72672 mod_lesson: add aria-label to actions select element
This commit is contained in:
parent
8af7bec81e
commit
f7f15b93e4
@ -458,6 +458,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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user