From cab2c7ea6eb1852e7c187e67388434436356fddf Mon Sep 17 00:00:00 2001 From: John Beedell Date: Tue, 21 Jun 2011 17:21:48 +0100 Subject: [PATCH] MDL-27431 adjust help icon alt to be same as title for accessibility --- lib/outputrenderers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 7f63cf31272..9f2bb835d78 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1625,7 +1625,7 @@ class core_renderer extends renderer_base { $title = get_string($helpicon->identifier, $helpicon->component); if (empty($helpicon->linktext)) { - $alt = $title; + $alt = get_string('helpprefix2', '', trim($title, ". \t")); } else { $alt = get_string('helpwiththis'); }