MDL-27431 adjust help icon alt to be same as title for accessibility
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user