MDL-64806 theme_boost: Do not label "More" icon

The icon is next to the text that says the same thing. Hide it from screenreaders.
This commit is contained in:
Damyon Wiese
2019-02-08 09:37:42 +08:00
parent 395b1f8fe7
commit 29086bc3b3
+2 -2
View File
@@ -544,7 +544,7 @@ class core_renderer extends \core_renderer {
if ($skipped) {
$text = get_string('morenavigationlinks');
$url = new moodle_url('/course/admin.php', array('courseid' => $this->page->course->id));
$link = new action_link($url, $text, null, null, new pix_icon('t/edit', $text));
$link = new action_link($url, $text, null, null, new pix_icon('t/edit', ''));
$menu->add_secondary_action($link);
}
}
@@ -558,7 +558,7 @@ class core_renderer extends \core_renderer {
if ($skipped) {
$text = get_string('morenavigationlinks');
$url = new moodle_url('/course/admin.php', array('courseid' => $this->page->course->id));
$link = new action_link($url, $text, null, null, new pix_icon('t/edit', $text));
$link = new action_link($url, $text, null, null, new pix_icon('t/edit', ''));
$menu->add_secondary_action($link);
}
}