[HCM] The visibility of the text within the banners and the "X" button is reduced with the new private theme
Categories
(Firefox :: Private Browsing, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox118 | --- | unaffected |
firefox119 | --- | unaffected |
firefox120 | --- | verified |
firefox121 | --- | verified |
People
(Reporter: sbadau, Assigned: cmkm)
References
(Blocks 2 open bugs)
Details
(Keywords: access)
Attachments
(3 files)
592.53 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
788 bytes,
text/plain
|
pascalc
:
approval-mozilla-beta+
|
Details |
Found in
- Nightly 120.0a1
Affected versions
- Nightly 120.0a1
Tested platforms
- Affected platforms: Ubuntu 22.04, macOS 11.7, Windows 10.
Preconditions
- In about:config, set "browser.privatebrowsing.felt-privacy-v1" to true
- Enable High Contrast Mode.
Steps to reproduce
- Open a private window.
- Observe the visibility of text in the banners and the "X" button.
Expected result
- The text within the banners and the "X" button should be easily visible in High Contrast Mode.
Actual result
- With the new private theme, the text within the banners and the "X" control button is difficult to read due to insufficient contrast.
Regression range
- Not a regression.
Comment 1•1 year ago
|
||
Thank you for filing the bug, Simona!
The color contrast of the text within both banners is 1.5:1 while it is expected that the color contrast would be at least 4.5:1 for WCAG 2.2 Level AA compliance (Success Criterion 1.4.3 Contrast (Minimum)) and at least 7:1 for WCAG 2.2 Level AAA compliance (Success Criterion 1.4.6 Contrast (Enhanced)) and for High Contrast Mode support.
Comment 2•1 year ago
|
||
The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:timhuang, could you consider increasing the severity?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
I can reproduce this only on Ubuntu's high contrast mode. The text color from common-shared.css
, --in-content-page-color
, resolves to black on Ubuntu and white on macOS.
Updated•1 year ago
|
Approval Request Comment
[Feature/Bug causing the regression]: Bug 1847102
[User impact if declined]: Text contrast issue for Ubuntu users in Felt Privacy v1 experiment
[Is this code covered by automated tests?]: No, styling only
[Has the fix been verified in Nightly?]: Not yet - due to US/CA holiday weekend, requesting uplift per discussion with :diannaS
[Needs manual test from QE? If yes, steps to reproduce]: Yes, steps:
- In Ubuntu, toggle high contrast accessibility setting
- Set
browser.privatebrowsing.felt-privacy-v1
totrue
- Open a new private browsing window and verify that text contrast is sufficient
[Why is the change risky/not risky?]: Not risky, styling only
[String changes made/needed]: n/a
Comment 7•1 year ago
|
||
bugherder |
Comment 8•1 year ago
|
||
Comment on attachment 9362926 [details]
Beta uplift request
Approved for out last beta, thanks.
Comment 10•1 year ago
|
||
bugherder uplift |
Reporter | ||
Comment 11•1 year ago
|
||
Verified as fixed using Firefox 120.0b9 and the latest Nightly 121.0a1 (Build ID: 20231113091505) on Ubuntu 22.04, macOS 11.7 and Windows 10.
While verifying this issue, I observed that on Windows 10, the generic search icon in the web search field is not visible when a high-contrast black theme is enabled (logged Bug 1864478 to cover this issue). Additionally, I noticed that the Firefox logo for private browsing is missing. Cieara, could you please confirm whether the absence of the logo is intended for Windows 10?
Assignee | ||
Comment 12•1 year ago
|
||
(In reply to Simona Badau, Desktop QA from comment #11)
Cieara, could you please confirm whether the absence of the logo is intended for Windows 10?
It isn't intentional, I suspect the wordmark SVG isn't adapting to the high contrast themes. UX is currently going through the accessibility review process for HCM on this page, we can address this as soon as possible alongside those other changes.
Reporter | ||
Comment 13•1 year ago
|
||
(In reply to Cieara Meador [:cmkm] from comment #12)
It isn't intentional, I suspect the wordmark SVG isn't adapting to the high contrast themes. UX is currently going through the accessibility review process for HCM on this page, we can address this as soon as possible alongside those other changes.
I logged Bug 1864876 to cover this issue as well.
Description
•