Bug 1572029 - Give the tracking protection toggler an accessible label, r=johannh
authorMarco Zehe <mzehe@mozilla.com>
Wed, 07 Aug 2019 14:28:32 +0000
changeset 11877 bad1b4c9e3e2f5383bd311198d2abe764392ed55
parent 11876 1a09ed27f8a627a25789dca8085fe85dfb901144
child 11878 63d35127c03cd25d69937875bc67787d683577d8
push id159
push userflodolo@mozilla.com
push dateThu, 08 Aug 2019 09:52:52 +0000
reviewersjohannh
bugs1572029
Bug 1572029 - Give the tracking protection toggler an accessible label, r=johannh Differential Revision: https://phabricator.services.mozilla.com/D40996 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 04fb760be12451bd1c17b8997da00a323e084261 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e5d98eda2ec359a0968c567076b1a625cb6c99ce X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: a8da73ce90a4110e14caaba3e93d8a086b3a0669
browser/chrome/browser/browser.properties
--- a/browser/chrome/browser/browser.properties
+++ b/browser/chrome/browser/browser.properties
@@ -663,16 +663,26 @@ trackingProtection.icon.activeTooltip2=B
 trackingProtection.icon.disabledTooltip2=Enhanced Tracking Protection is OFF for this site.
 # LOCALIZATION NOTE (trackingProtection.icon.noTrackersDetectedTooltip): %S is brandShortName.
 trackingProtection.icon.noTrackersDetectedTooltip=No trackers known to %S were detected on this page.
 
 # LOCALIZATION NOTE (protections.header):
 # Header of the Protections Panel. %S is replaced with the site's hostname.
 protections.header=Protections for %S
 
+# LOCALIZATION NOTE (protections.disableAriaLabel):
+# Text that gets spoken by a screen reader if the button will disable protections.
+# %s is the site's hostname.
+protections.disableAriaLabel=Disable protections for %s
+
+# LOCALIZATION NOTE (protections.enableAriaLabel):
+# Text that gets spoken by a screen reader if the button will enable protections.
+# %s is the site's hostname.
+protections.enableAriaLabel=Enable protections for %s
+
 # Blocking and Not Blocking sub-views in the Protections Panel
 protections.blocking.fingerprinters.title=Fingerprinters Blocked
 protections.blocking.cryptominers.title=Cryptominers Blocked
 protections.blocking.crossSiteTrackingCookies.title=Cross-Site Tracking Cookies Blocked
 protections.blocking.trackingContent.title=Tracking Content Blocked
 protections.blocking.socialMediaTrackers.title=Social Media Trackers Blocked
 protections.notBlocking.fingerprinters.title=Not Blocking Fingerprinters
 protections.notBlocking.cryptominers.title=Not Blocking Cryptominers