Index: desktop-options.js |
=================================================================== |
--- a/desktop-options.js |
+++ b/desktop-options.js |
@@ -918,10 +918,10 @@ |
{ |
setLinks("enable-acceptable-ads-description", link); |
}); |
- setElementText(E("tracking-warning-1"), "options_tracking_warning_1", |
+ setElementText(E("tracking-warning-1"), "options_tracking_warning_1", |
[getMessage("common_feature_privacy_title"), |
- getMessage("options_acceptableAds_ads_label")]); |
- setElementText(E("tracking-warning-3"), "options_tracking_warning_3", |
+ getMessage("options_acceptableAds_ads_label")]); |
+ setElementText(E("tracking-warning-3"), "options_tracking_warning_3", |
[getMessage("options_acceptableAds_privacy_label")]); |
getDocLink("privacy_friendly_ads", (link) => |
@@ -1407,11 +1407,14 @@ |
let id = anchor.getAttribute("data-tooltip"); |
let wrapper = document.createElement("div"); |
+ wrapper.setAttribute("aria-describedby", id); |
+ wrapper.setAttribute("tabindex", "0"); |
wrapper.className = "icon tooltip"; |
anchor.parentNode.replaceChild(wrapper, anchor); |
wrapper.appendChild(anchor); |
let tooltip = document.createElement("div"); |
+ tooltip.id = id; |
tooltip.setAttribute("role", "tooltip"); |
let paragraph = document.createElement("p"); |