Closed Bug 1849362 Opened 11 months ago Closed 9 months ago

[High Contrast] The "Privacy policy" and "Terms of use" links from the Fakespot onboarding sidebar disappear when clicked

Categories

(Firefox :: Messaging System, defect, P1)

Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
119 Branch
Iteration:
119.2 - Sept 11 - Sept 22
Accessibility Severity s3
Tracking Status
firefox-esr102 --- disabled
firefox-esr115 --- disabled
firefox116 --- disabled
firefox117 --- disabled
firefox118 --- disabled
firefox119 --- verified

People

(Reporter: rdoghi, Assigned: nsauermann)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [omc])

Attachments

(2 files)

Attached video 2023-08-18_05h02_07.mp4

Found in

  • Nightly 118.0a1 (2023-08-18)

Affected versions

  • Nightly 118.0a1 (2023-08-18)

Affected platforms

  • Windows

Preconditions:
Set the browser.shopping.experience2023.enabled - TRUE
Set the toolkit.shopping.useOHTTP - TRUE
Enable High Contrast

Steps to reproduce

  1. Reach about:preferences and turn off feature recommendations.
  2. Reach the Amazon https://www.amazon.com/dp/B09B6ZXD2V/ref=sbl_dpx_office-desks_B0B4CYW8FB_0 link
  3. Click and Hold each link from the Onboarding Shopping sidebar.

Expected result

  • The Text should still be visible.

Actual result

  • The Text from each link disappears.

Regression range
Not Applicable

:rdoghi, if you think that's a regression, could you try to find a regression range using for example mozregression?

Priority: -- → P3
Whiteboard: [fidefe-shopping]

I wonder if this is the default visited link colour not playing well with the background colour. Do we have this problem on other pages (e.g. the MPL link on about:rights), too?

Comment 2 is private: false

Ni for the previous comment (sorry!)

Flags: needinfo?(rdoghi)

No, this issue does not occur on about:rights or about:preferences, there only the underline will disappear.

Flags: needinfo?(rdoghi)

Thank you for catching it, Rares!

On HCM, we do not expect to change the color of visited links, at least for now. Thus, they should keep Moznativehypelink foreground and Canvas background color combination.

Accessibility Severity: --- → s3

It appears that the issue here comes from the markup that uses <a> element (without valid href) with role="button" (discussed in bug 1849577)thus the default theme overrides the foreground color...

I think the use of role=button here may have changed? Negin ?

Component: Shopping → Messaging System
Flags: needinfo?(nsauermann)
Priority: P3 → --

(In reply to :Gijs (he/him) from comment #7)

I think the use of role=button here may have changed? Negin ?

It hasn't yet - that bug was prioritized as a P3. I have a WIP patch but it needs more work but I'll re-prioritize it this week, sorry for the delay!

Flags: needinfo?(nsauermann)
Depends on: 1849577
Depends on: 1854667
No longer depends on: 1849577
No longer depends on: 1854667

This is also reproducible with the "Not Now" button on the opt-in screen and seems unrelated to role="button". In the inspector I can see the active-state is using var(--link-color-active) and it seems contained to anything that uses text-link-styles mixin and may have been regressed by https://bugzilla.mozilla.org/show_bug.cgi?id=1832855

Assignee: nobody → nsauermann
Status: NEW → ASSIGNED
Iteration: --- → 119.2 - Sept 11 - Sept 22
Whiteboard: [fidefe-shopping] → [fidefe-shopping][omc]
Priority: -- → P1
Whiteboard: [fidefe-shopping][omc] → [omc]
Pushed by nsauermann@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3c4ff7d2722
[High Contrast] The "Privacy policy" and "Terms of use" links from the Fakespot onboarding sidebar disappear when clicked r=omc-reviewers,aminomancer
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

This issue is verified as fixed in our latest Nightly build 119.0a1 (2023-09-24). However in other places when we click a Link the underline will disappear indicating that it's been clicked (about:preferences) should we not have the same behavior here as well ? There is no indication that we are clicking those links. ? Is this ok ?

Status: RESOLVED → VERIFIED
Flags: needinfo?(ayeddi)

I believe this is as expected (and is the current state for about:welcome and Spotlight modals). Underline should persist on all states from the following two bugs that were filed:

But I'll let Anna chime in in case the active state wasn't defined properly.

(In reply to Negin from comment #14)

I believe this is as expected (and is the current state for about:welcome and Spotlight modals). Underline should persist on all states from the following two bugs that were filed:

But I'll let Anna chime in in case the active state wasn't defined properly.

Thank you! The underline is expected to be present in all states (confirmed with the Design systems team too). And the links are readable on HCM when :active and in other states too - thank you all for the investigation and work on the bug!

Flags: needinfo?(ayeddi)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: