mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-34555 accessibility compliance for calendar: Add forform input text and select tag
This commit is contained in:
parent
5b711b3e99
commit
5c57655218
2 changed files with 4 additions and 1 deletions
|
@ -710,7 +710,9 @@ class core_calendar_renderer extends plugin_renderer_base {
|
|||
$select = new single_select(new moodle_url(CALENDAR_URL.'set.php', array('return' => base64_encode($returnurl->out(false)), 'var' => 'setcourse', 'sesskey'=>sesskey())), 'id', $courseoptions, $selected, null);
|
||||
$select->class = 'cal_courses_flt';
|
||||
if ($label !== null) {
|
||||
$select->label = $label;
|
||||
$select->set_label($label);
|
||||
} else {
|
||||
$select->set_label(get_string('listofcourses'), array('class' => 'accesshide'));
|
||||
}
|
||||
return $this->output->render($select);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue