Open Bug 1856915 Opened 2 years ago Updated 2 months ago

The button to show/hide password is missing (or clipped) from the right side of the password field on login.yahoo.com

Categories

(Web Compatibility :: Site Reports, defect, P2)

Firefox 120
Other
Android

Tracking

(Webcompat Score:3, Webcompat Priority:P2)

ASSIGNED
Webcompat Score 3
Webcompat Priority P2

People

(Reporter: ctanase, Assigned: twisniewski)

References

(Depends on 1 open bug, )

Details

(4 keywords, Whiteboard: [webcompat:sightline])

User Story

platform:android
impact:feature-broken
configuration:general
affects:all
branch:release
diagnosis-team:layout
user-impact-score:45

Attachments

(3 files)

Environment:
Operating system: OnePlus 6 A6000 (Android 11)
Firefox version: Nightly 120.0a1-20231003093318

Preconditions: Account needed

Steps to reproduce:

  1. Go to https://login.yahoo.com
  2. Enter your Username/email or phone number.
  3. Tap "Next".
  4. Observe the password field.

Expected Behaviour:
The password field has a button to show/hide the password.

Actual Behaviour:
The button to show/hide the password is missing.

Notes:

  1. Screenshot provided
  2. Reproducible on Firefox Release as well
  3. Not reproducible on Chrome
  4. Issue found during WebCompat team [Top100] websites testing

Verified this issue and it's still reproducible on Firefox versions 122 and 125.

Environment:
Operating system: OnePlus 6 A6000 (Android 11)
Browsers: Firefox Nightly 125.0a1-20240219095613 / Firefox Release 122.0.1-20240205133611 / Chrome 121.0.6167.144

Note: Not reproducible on Chrome

Severity: -- → S3
Priority: P3 → P2
Component: Mobile → Site Reports
User Story: (updated)

On my device it's partially visible. Setting diagnosis team to layout

User Story: (updated)
Duplicate of this bug: 1918968

(In reply to Ksenia Berezina [:ksenia] from comment #2)

On my device it's partially visible. Setting diagnosis team to layout

Same on my device (and also in RDM). I filed bug 1918968 before noticing this one was already filed - I've posted some analysis over there.

tl;dr:
(1) Yahoo is running up an interop difference that I just filed as bug 1918967 - (where our behavior makes sense I think; they're kinda depending on what feels like a Chrome/WebKit quirk). Yahoo is making this element extra-wide when they're showing it as a password field with the letter-spacing declaration in this rule:

.challenge .input-group.password-container input[type=password],
.generic-page .input-group.password-container input[type=password] {
  font-weight:800;
  letter-spacing:.17647rem;
}

(^ prettified CSS from https://s.yimg.com/wm/mbr/c9d85308a0cd6518f4c0bfe8c77083894a0359a5/yahoo-main.css )

(2) we could hypothetically sitepatch this with a rule like the following, which makes the password field gracefully shrink here (as a flex item) to avoid stealing more space than it needs:

#password-container > input[type="password"] { min-width: 0 }

We might want to suggest to Yahoo that they add something like that, too -- or do something else to limit the width of this password field -- if we've got contacts to send that suggestion to. Right now it's a bit silly for them to be increasing spacing in this element with letter-spacing while also expecting it to not get wider. (though currently Chrome/WebKit do hold up to that expectation, per bug 1918967.)

Depends on: 1918967
Summary: The button to show/hide password is missing from the password field on yahoo.com → The button to show/hide password is missing (or clipped) from the right side of the password field on login.yahoo.com
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ba458d628dd6 add a CSS intervention for login.yahoo.com/account to ensure the password-reveal toggle is the expected width; r=ksenia,webcompat-reviewers
Whiteboard: [webcompat:sightline]
Webcompat Priority: --- → P3
User Story: (updated)
Webcompat Priority: P3 → P2
Webcompat Score: --- → 6
Webcompat Score: 6 → 3
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: