Bug 1478156 - Add contrast ratio annotation title and info link to color picker, r=yzen,gl
authorMaliha Islam <mislam@mozilla.com>
Mon, 15 Jul 2019 11:01:03 +0000
changeset 11720 42eaa6014b7e85042e30135b1c70a87ddb5124aa
parent 11719 ecc775bb42c976de9c3ef0f993ed6fb675a36bd4
child 11721 dc13ef45c45889d10bb5aab49d2bbb784876dc04
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: 2bfcab598ff432c7212725ffbbbf2418d5e8d19b 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
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.transparent.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