Skip to content
Browse files

MDL-35883 Accessibility: Added title for user link in header and foot…

…er for accessibility
  • Loading branch information...
1 parent fe33d24 commit 9c14f808ede6e165e3ce4672ffdf6b7b4e889cb3 @rajeshtaneja rajeshtaneja committed Apr 2, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/outputrenderers.php
View
3 lib/outputrenderers.php
@@ -552,7 +552,8 @@ public function login_info($withlinks = null) {
$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;
}

0 comments on commit 9c14f80

Please sign in to comment.
Something went wrong with that request. Please try again.