mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-31976 Accessbility: Action icons on course page do not need title attributes
This commit is contained in:
parent
a3ab18c735
commit
aad982aa24
5 changed files with 22 additions and 27 deletions
|
@ -168,7 +168,8 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
|||
if ($PAGE->user_is_editing() && has_capability('moodle/course:update', $context)) {
|
||||
$url = new moodle_url('/course/editsection.php', array('id'=>$section->id, 'sr'=>$sectionreturn));
|
||||
$o.= html_writer::link($url,
|
||||
html_writer::empty_tag('img', array('src' => $this->output->pix_url('t/edit'), 'class' => 'iconsmall edit')),
|
||||
html_writer::empty_tag('img', array('src' => $this->output->pix_url('t/edit'),
|
||||
'class' => 'iconsmall edit', 'alt' => get_string('editsummary'))),
|
||||
array('title' => get_string('editsummary')));
|
||||
}
|
||||
$o.= html_writer::end_tag('div');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue