[contextual-password-manager] Username and password fields are not visible on hover in high contrast mode
Categories
(Toolkit :: Password Manager, defect, P3)
Tracking
()
People
(Reporter: gmoldovan, Assigned: mtigley)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [fxcm-cpm-qa2790])
Attachments
(3 files)
Found in:
- 138.0a1 (2025-03-13)
Affected versions:
- 138.0a1
Tested platforms:
- Affected platforms: Windows 10
- Unaffected platforms: Ubuntu, macOS
Preconditions:
- Have the pref ‘browser.contextual-password-manager.enabled’ set to true
- Have the Passwords sidebar opened
- Have some saved logins
- Have the High Contrast #1 enabled in Firefox
Steps to Reproduce:
- Open the Password Sidebar in Firefox.
- Hover the username and password fields of the saved logins.
Expected Result:
- The username and password fields should be visible on hover.
Actual Result:
- In High Contrast #1, the username and password fields are not visible on hover.
Additional notes:
- See the attached screencast
- The issue also occurs In High Contrast #2
- With High Contrast Black, these fields miss the hover effect entirely
- With High Contrast White, none of the elements of the saved logins have a hover effect
Updated•5 months ago
|
Comment 1•5 months ago
|
||
Marking access-s3 because this is just the hover effect. If this were the case in keyboard focus as well I would say it is an s2.
Assignee | ||
Updated•4 months ago
|
Comment 2•3 months ago
|
||
Hi Giorgia, could you help by sharing a screenshot of what about:logins looks like in this case? Thanks!
Reporter | ||
Comment 3•3 months ago
|
||
I’ve tested this in about:logins using the same high contrast themes (High Contrast #1, #2), and the issue is not reproducible there. The UI is different from the Password Sidebar, but the username and password fields remain visible on hover in the tested themes. I’ve attached a screencast for reference.
However, in High Contrast Black and High Contrast White, the hover effect is missing, similar to what's described in the bug for the Sidebar.
Let me know if further details or comparisons are needed.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 4•1 month ago
|
||
Hi Hanna, I was looking into this issue and I believe we're using the correct CSS variable here. Specifically, --button-text-color-hover
should be applying SelectedItem
value and I verified this on my local development machine as well. Do you know what might be happening here?
Thank you!
Comment 5•1 month ago
|
||
So it looks like on line 31 we're changing the value of --input-field-color
to --button-text-color
which resolves to ButtonText
in HCM. So on line 32 --input-field-color-hover
=> --input-field-color
=> --button-text-color
=> ButtonText
rather than SelectedItem
. Not sure if that explains things? Everything looks as expected for me locally in HCM, but I think I'm testing on Windows 11.
Assignee | ||
Comment 6•1 month ago
|
||
Comment 8•29 days ago
|
||
bugherder |
Updated•19 days ago
|
Reporter | ||
Comment 9•16 days ago
|
||
Verified as fixed on latest Nightly 143.0a1 and Firefox Beta 142.0b2. The username and password fields are now visible on hover in High Contrast Mode as expected.
Description
•