Closed Bug 1703036 Opened 5 years ago Closed 5 years ago

Search mode chiclet has unreadable close button in High Contrast Mode

Categories

(Firefox :: Address Bar, defect, P2)

Firefox 88
All
Windows 10
defect

Tracking

()

VERIFIED FIXED
89 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- verified
firefox89 --- verified

People

(Reporter: phorea, Assigned: mak)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: access, regression, Whiteboard: [proton-address-bar] [priority:2c] [a11y])

Attachments

(2 files)

[Affected versions]:

  • Firefox 88 beta 7
  • latest Nightly 89.0a1 2021-04-04

[Affected platforms]:

  • Win 10 64-bit

[Preconditions]:
Open Settings -> High Contrast app in Windows 10 and select one of the default themes: High Contrast #1, High Contrast #2 or High Contrast Black

[Steps to reproduce]:

  1. Focus address bar and select a search shortcut to open search mode
  2. Hover over the search mode chiclet in address bar

[Expected result]:

  • [x] close button is visible in high contrast mode

[Actual result]:

  • [x] close button is black

[Regression range]:

  • This regressed in Firefox 88, will return with a regression range ASAP

[Additional notes]:

  • This issue is not reproducible in High Contrast White default theme
Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1691531
Priority: -- → P2
See Also: → 1673011
Whiteboard: [proton-address-bar] [priority:2c] [a11y]
Assignee: nobody → mak
Status: NEW → ASSIGNED

This is a non-proton regression caused by proton work.

Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/f5468626655d Search mode chiclet has unreadable close button in High Contrast Mode. r=harry,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Comment on attachment 9214037 [details]
Bug 1703036 - Search mode chiclet has unreadable close button in High Contrast Mode. r=harry

Beta/Release Uplift Approval Request

  • User impact if declined: The search mode chiclet close button is not visible in high contrast mode
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Test the search mode chiclet close button in high contrast mode when Proton is disabled
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Simple css change
  • String changes made/needed:
Attachment #9214037 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9214037 [details]
Bug 1703036 - Search mode chiclet has unreadable close button in High Contrast Mode. r=harry

Approved for 88.0b9.

Attachment #9214037 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Verified in Firefox 88 beta 9 and latest Nightly 89.0a1 2021-04-12, under Win 10 64-bit.

Mak, could you please provide your input for the following cases?

  • This issue reproduces now with High Contrast Black and Firefox Light theme. Since this is an unusual combination, should I file it as follow-up?
  • With High Contrast Black and Firefox Dark theme, I notice that address bar panel highlights are grey (Proton like), as opposed to blue (default text selection in HCM). In this case, should the highlight follow OS's direction or browser's?

Thank you!

Flags: needinfo?(mak)

(In reply to Petruta Horea [:phorea] from comment #9)

  • This issue reproduces now with High Contrast Black and Firefox Light theme. Since this is an unusual combination, should I file it as follow-up?

Yes, there is still a bug here, and I think it's due to missing a -moz-proton check around this rule https://searchfox.org/mozilla-central/rev/fa48ebee58d59fa846919c3e2c3122b08db57c9c/browser/themes/shared/urlbar-searchbar.inc.css#462-465
As you said this is a not so common case, so I don't think we'll fix it, considered it would require an uplift and would become pointless with the release of Proton. I'd prefer to concentrate on ensuring HC is right in Proton, since we handled the most common case here.
Thus I'd suggest to not file a bug and accept that bug exists.

  • With High Contrast Black and Firefox Dark theme, I notice that address bar panel highlights are grey (Proton like), as opposed to blue (default text selection in HCM). In this case, should the highlight follow OS's direction or browser's?

I think High Contrast users should use the Default theme and if they really want to pick a theme, they'll hopefully pick an LWT theme that satisfies their need, rather than a broken one. LWT themes, like Dark, hardcode various colors and may not be a good choice for HC users, in general, but again it's their choice. I don't think that's a bug, the user requested that theme, and the theme may hardcode some colors by choice.

Flags: needinfo?(mak)

Thank you for detailed explanations!

Based on the above comments, I'm marking this as verified.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: