Closed Bug 1795808 Opened 3 years ago Closed 2 years ago

[HCM] Primary subtitles on all Onboarding screens to use CanvasText in HCM

Categories

(Firefox :: Messaging System, defect, P2)

Firefox 107
x86_64
All
defect

Tracking

()

VERIFIED FIXED
108 Branch
Iteration:
108.2 - Oct 31 - Nov 11
Accessibility Severity s2
Tracking Status
firefox108 --- verified
firefox109 --- verified

People

(Reporter: ayeddi, Assigned: aminomancer)

Details

(Keywords: access)

Attachments

(3 files)

STR:

  1. Activate system High Contrast Mode (masOS: Settings > Accessibility > Display > Display > Increase Contrast, WinOS: Settings > Accessibility > Contrast Themes > (i.e. Night Sky) > Apply)
  2. Open the Firefox browser
  3. Open the Browser Console and enter:
    Cc["@mozilla.org/browser/browserglue;1"].getService().wrappedJSObject._showUpgradeDialog()
  4. Observe color of the subtitle text

Expected:

Color used by the subtitle respects the static text color from the OS color palette (uses CanvasText color)

Actual:

Color used by the subtitle remains low contrast (gray on dark themes), it is not using the static text color from the OS color palette (uses hardcoded #CFCFD8 color on the dark theme).

Version: Firefox Nightly 107.0a1 (2022-10-17) (64-bit) on macOS 12.6 and Windows OS 11.

MacOS screenshot with code snippet

Whiteboard: [access-s2]
Assignee: nobody → shughes
Iteration: --- → 108.1 - Oct 17 - Oct 28
Priority: -- → P1
Iteration: 108.1 - Oct 17 - Oct 28 → 108.2 - Oct 31 - Nov 11

The severity field is not set for this bug.
:tspurway, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(tspurway)
Priority: P1 → P2
Pushed by shughes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/221b872e61bb HCM: Don't use static colors in about:welcome. r=hanna_a
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Flags: qe-verify+

I tried reproducing this issue on Windows 11 using HCM(Night Sky) and the STR from Comment 0 without success. After introducing the command line in the Console I get the following error:

Uncaught ReferenceError: Cc is not defined
<anonymous> debugger eval code:1

Are there any prefs I need to tweak in about:config to properly reproduce and verify this fix, or any steps whatsoever I might've missed? I tried with devtools.chrome.enabled to true but it didn't help.
Thank you.

Flags: needinfo?(shughes)

You have to enter the JS in the Browser Console (ctrl+alt+shift+i) which requires devtools.debugger.remote-enabled as well

Flags: needinfo?(shughes)

Thank you!
Reproduced with a 2022-10-17 Nightly build on Windows 11( with HCM enabled). Verified as fixed on Firefox 108.0b5(build ID: 20221122190120) and Nightly 109.0a1(build ID: 20221124093251) on Windows 11, Ubuntu 22, macOS 12.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Severity: -- → S3
Flags: needinfo?(tspurway)
Accessibility Severity: --- → s2
Whiteboard: [access-s2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: