Skip to content
Snippets Groups Projects
Commit b9309521 authored by Lachlan Ennis's avatar Lachlan Ennis
Browse files

Issue #2467383 by elachlan, cboyden: Google indexes "(link is external)"

parent f022dd50
No related branches found
No related tags found
No related merge requests found
......@@ -180,10 +180,10 @@
var $link = $($links_to_process[i]);
if ($link.css('display') === 'inline' || $link.css('display') === 'inline-block') {
if (class_name === Drupal.settings.extlink.mailtoClass) {
$link[icon_placement]('<span class="' + class_name + '"><span class="element-invisible">' + Drupal.settings.extlink.mailtoLabel + '</span></span>');
$link[icon_placement]('<span class="' + class_name + '" aria-label="' + Drupal.settings.extlink.mailtoLabel + '"></span>');
}
else {
$link[icon_placement]('<span class="' + class_name + '"><span class="element-invisible">' + Drupal.settings.extlink.extLabel + '</span></span>');
$link[icon_placement]('<span class="' + class_name + '" aria-label="' + Drupal.settings.extlink.extLabel + '"></span>');
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment