Permalink
Browse files

MDL-35883 Accessibility: Added title for login as user link in header…

… and footer for accessibility
  • Loading branch information...
Rajesh Taneja
Rajesh Taneja committed Apr 2, 2013
1 parent d82cef6 commit 8cea78f500932ac389eb51946051c17fe3edbc02
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/outputrenderers.php
View
@@ -529,7 +529,9 @@ public function login_info() {
if (session_is_loggedinas()) {
$realuser = session_get_realuser();
$fullname = fullname($realuser, true);
- $realuserinfo = " [<a href=\"$CFG->wwwroot/course/loginas.php?id=$course->id&amp;sesskey=".sesskey()."\">$fullname</a>] ";
+ $loginastitle = get_string('loginas');
+ $realuserinfo = " [<a href=\"$CFG->wwwroot/course/loginas.php?id=$course->id&amp;sesskey=".sesskey()."\"";
+ $realuserinfo .= "title =\"".$loginastitle."\">$fullname</a>] ";
} else {
$realuserinfo = '';
}

0 comments on commit 8cea78f

Please sign in to comment.