Skip to content

Commit c0ecd16

Browse files
committed
Merge remote-tracking branch 'origin/BUG#AC-1276-v3' into gl_pr_accessibility_release244_nov23_2021
2 parents ef203d2 + 78c9e27 commit c0ecd16

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/code/Magento/Backend/Block/Store/Switcher.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,9 @@ public function getHintHtml()
617617
$url = $this->getHintUrl();
618618
if ($url) {
619619
$html = '<div class="admin__field-tooltip tooltip"><a href="%s" onclick="this.target=\'_blank\'" title="%s"
620-
class="admin__field-tooltip-action action-help"><span>%s</span></a></span></div>';
621-
$title = $this->escapeHtmlAttr(__('What is this?'));
622-
$span= $this->escapeHtml(__('What is this?'));
620+
class="admin__field-tooltip-action action-help"><span>%s</span></a></div>';
621+
$title = $this->escapeHtmlAttr(__('What is this?'));
622+
$span = $this->escapeHtml(__('What is this?'));
623623
$html = sprintf($html, $this->escapeUrl($url), $title, $span);
624624
}
625625
return $html;

app/code/Magento/Ui/view/base/web/templates/form/element/helper/tooltip.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
*/
66
-->
77
<div class="admin__field-tooltip">
8-
<a class="admin__field-tooltip-action action-help" target="_blank" tabindex="1" attr="href: tooltip.link"></a>
8+
<a class="admin__field-tooltip-action action-help" target="_blank" tabindex="1" attr="href: tooltip.link">
9+
<span translate="'What is this?'"></span>
10+
</a>
911
<!-- ko with: {descriptionUnsanitizedHtml: tooltip.description} -->
1012
<div class="admin__field-tooltip-content" html="descriptionUnsanitizedHtml"></div>
1113
<!-- /ko -->

0 commit comments

Comments
 (0)