Skip to content
Browse files

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

  • Loading branch information...
1 parent 7fde489 commit cab2c7ea6eb1852e7c187e67388434436356fddf @Beedell Beedell committed Jun 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/outputrenderers.php
View
2 lib/outputrenderers.php
@@ -1625,7 +1625,7 @@ protected function render_help_icon(help_icon $helpicon) {
$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');
}

0 comments on commit cab2c7e

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