Bug 1478156 - Add contrast ratio annotation title and info link to color picker, r=yzen,gl
authorMaliha Islam <mislam@mozilla.com>
Sat, 13 Jul 2019 18:37:06 +0000
changeset 11715 e341004e6660e929b9df3a1ec28376073b4e7f0a
parent 11714 df4c41165f2422bfa003a6af8a28e72b359e4eaf
child 11716 f863005e5aecd93f39e65bb5fcb5b1dad8c2ea12
push id155
push userflodolo@mozilla.com
push dateWed, 17 Jul 2019 06:34:00 +0000
reviewersyzen, gl
bugs1478156
Bug 1478156 - Add contrast ratio annotation title and info link to color picker, r=yzen,gl Differential Revision: https://phabricator.services.mozilla.com/D32842 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: a363971fffb024000ef3d6bdb4f34c1980d9bfa2 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 9cdcc170dc1a51fc14a10d38f8aa2237d9928ba4 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: 2f967ef753ab175c43ec33cdf6276266281d3721
devtools/client/accessibility.properties
devtools/client/inspector.properties
--- a/devtools/client/accessibility.properties
+++ b/devtools/client/accessibility.properties
@@ -147,16 +147,20 @@ accessibility.contrast.annotation.AA=Mee
 accessibility.contrast.annotation.AAA=Meets WCAG AAA standards for accessible text. %S
 
 # LOCALIZATION NOTE (accessibility.contrast.annotation.fail): A title text for the
 # paragraph describing that the given colour contrast fails to meet the minimum level from
 # Web Content Accessibility Guidelines. %S in the content will be replaced by a link at
 # run time with the accessibility.learnMore string.
 accessibility.contrast.annotation.fail=Does not meet WCAG standards for accessible text. %S
 
+# LOCALIZATION NOTE (accessibility.contrast.annotation.error): A title text for the
+# paragraph suggesting a fix for error in color contrast calculation for text nodes with zero alpha.
+accessibility.contrast.annotation.transparent.error=Pick a color that is not transparent.
+
 # LOCALIZATION NOTE (accessibility.badges): A title text for the group of badges
 # that are rendered for each accessible row within the accessibility tree when
 # one or more accessibility checks fail.
 accessibility.badges=Accessibility checks
 
 # LOCALIZATION NOTE (accessibility.filter.all): A title text for the filter
 # that is rendered within the accessibility panel toolbar for a button that
 # filters the tree based on all accessibility failures within it.
--- a/devtools/client/inspector.properties
+++ b/devtools/client/inspector.properties
@@ -506,8 +506,14 @@ markupView.scrollableBadge.label=scroll
 
 # LOCALIZATION NOTE (markupView.scrollableBadge.tooltip): This is the tooltip that is displayed
 # when hovering over badges next to scrollable elements in the inspector.
 markupView.scrollableBadge.tooltip=This element has scrollable overflow.
 
 # LOCALIZATION NOTE (rulePreviewTooltip.noAssociatedRule): This is the text displayed inside
 # the RulePreviewTooltip when a rule cannot be found for a CSS property declaration.
 rulePreviewTooltip.noAssociatedRule=No associated rule
+
+# LOCALIZATION NOTE (colorPickerTooltip.contrastAgainstBgTitle): A title text for the
+# contrast ratio value description that labels the background the color contrast ratio is calculated
+# against, used together with the actual background color. %S in the content will be replaced by a
+# span (containing bg color swatch) and textNode (containing bg color hex string) at run time
+colorPickerTooltip.contrastAgainstBgTitle=Calculated against background: %S