Commit 2c6e998f authored by moodler's avatar moodler
Browse files

Added label to language menu for accessibility MDL-8174

parent ce89882a
......@@ -78,7 +78,8 @@
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langmenu = popup_form ($CFG->wwwroot .'/index.php?lang=', $langs, 'chooselang', $currlang, '', '', '', true);
$langlabel = '<span class="accesshide">'.get_string('language').':</span>';
$langmenu = popup_form($CFG->wwwroot .'/index.php?lang=', $langs, 'chooselang', $currlang, '', '', '', true, 'self', $langlabel);
}
$PAGE = page_create_object(PAGE_COURSE_VIEW, SITEID);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment