mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-35883 Accessibility: Added title for user link in header and footer for accessibility
This commit is contained in:
parent
d8201d49d8
commit
c7fe9f81d7
1 changed files with 2 additions and 1 deletions
|
@ -582,7 +582,8 @@ class core_renderer extends renderer_base {
|
|||
$fullname = fullname($USER, true);
|
||||
// Since Moodle 2.0 this link always goes to the public profile page (not the course profile page)
|
||||
if ($withlinks) {
|
||||
$username = "<a href=\"$CFG->wwwroot/user/profile.php?id=$USER->id\">$fullname</a>";
|
||||
$linktitle = get_string('viewprofile');
|
||||
$username = "<a href=\"$CFG->wwwroot/user/profile.php?id=$USER->id\" title=\"$linktitle\">$fullname</a>";
|
||||
} else {
|
||||
$username = $fullname;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue