MDL-27431 adjust help icon alt to be same as title for accessibility

This commit is contained in:
John Beedell
2011-06-28 15:54:14 +01:00
parent 7fde489dae
commit cab2c7ea6e
+1 -1
View File
@@ -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');
}