Closed Bug 1954490 Opened 5 months ago Closed 4 months ago

more difficult to distinguish the current tab

Categories

(Toolkit :: Themes, defect, P1)

defect

Tracking

()

RESOLVED FIXED
139 Branch
Accessibility Severity s2
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox136 --- unaffected
firefox137 --- unaffected
firefox138 + fixed
firefox139 --- fixed

People

(Reporter: soeren.hentzschel, Assigned: julianwels)

References

(Regression)

Details

(Keywords: access, regression)

Attachments

(4 files)

Attached image screenshot

Recently, a change to the shadow made it more difficult to recognize the active tab. Please note that there was already bug 1704347 before this change where people complained about the low contrast of the active tab, and now the active tab has even less contrast due to the reduced shadow.

Tested on macOS 15.3.1 with the default Firefox theme.

:julianwels, since you are the author of the regressor, bug 1889754, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(julianwels)

:dao do you think you can set a priority/severity? thank you!

Flags: needinfo?(dao+bmo)

[Tracking Requested - why for this release]:

Julian and Jules, how do we feel about this? Should we increase this shadow level's strength, or use a different level for tabs?

Setting S2 for now for possible accessibility impact as well as high visiblity in primary UI.

Severity: -- → S2
Flags: needinfo?(dao+bmo) → needinfo?(jules)
Keywords: access
Priority: -- → P1
Accessibility Severity: --- → s2

The bug is marked as tracked for firefox138 (nightly). We have limited time to fix this, the soft freeze is in 3 days. However, the bug still isn't assigned.

:cbellini, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(cbellini)
Flags: needinfo?(cbellini) → needinfo?(jwolf)

I believe Julian is going to address this, but they're out sick. If they're not back tomorrow I am happy to pick this up.

Flags: needinfo?(jules)

As a reminder soft code freeze starts today!

Hi! I'm looking into this right now.

The tab strip didn't have a passing contrast ratio before, though I think it's fair to say it got slightly worse due to the new shadow. Addressing the contrast issue properly is a larger project, so I'm trying to figure out how to adjust some values to bring it back to roughly where it was before.

Thanks for the reminder about the code freeze! I'm not sure if I can figure something out before merge day. We might need to uplift then.

Flags: needinfo?(jwolf)
Flags: needinfo?(julianwels)
Assignee: nobody → julianwels
Status: NEW → ASSIGNED
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/030075958225 Improve contrast between active tab and tabstrip. r=desktop-theme-reviewers,reusable-components-reviewers,emilio,mstriemer

Backed out for causing bc failures @browser_startup_flicker.js and @browser_windowclose.js.

Flags: needinfo?(julianwels)

Set release status flags based on info from the regressing bug 1889754

looking into it

Flags: needinfo?(julianwels)

:julian just making sure this is still on your radar for 138?

Flags: needinfo?(julianwels)
Attached image diff.png

Yeah, it is

Just as an updated where I am:

I'm trying to figure out why the test is supposed to fail. Looks like there is a 1px wide area around the tab that changes RGB values by 1. That is consistent with the other intermittent failures (bug 1872332, bug 1889278). Same area, same issue. So I don't think this is a regression and just the intermittently failing test.

Started another try run a little while ago to see if it fails consistently. If it doesn't, then I guess I was just unlucky; if it is I'd guess that changing the tabstrip color may have exacerbated the issue but not caused it.

Emilio, do you have any ideas here? ^^;

Flags: needinfo?(julianwels) → needinfo?(emilio)

So the wrong area is in the tab shadow? I think we have an existing workaround for exactly this issue, see this. So probably you need to apply that workaround to those tests. But check with someone more familiar with those than me :)

Flags: needinfo?(emilio)

As a reminder we are tracking this for 138 and the last beta builds at the end of this week.

Flags: needinfo?(julianwels)

After about 20 try runs, I finally have one that did not fail 🫠

Flags: needinfo?(julianwels)
See Also: → 1960967
Pushed by julianwels@jwels.berlin: https://hg.mozilla.org/integration/autoland/rev/c87ec8a36c2a Improve contrast between active tab and tabstrip. r=desktop-theme-reviewers,reusable-components-reviewers,emilio,mstriemer

If this causes test failures please ping me before backing out! There are a couple of flaky tests I'd rather turn off than fight them right now (in the hopes we can still uplift this)

Pushed by smolnar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e8157a63eb4 Fix permafailure in browser_windowopen.js. CLOSED TREE
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

The patch landed in nightly and beta is affected.
:julianwels, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(julianwels)

Approval Request Comment
[Feature/Bug causing the regression]: 1889754
[User impact if declined]: Active tab harder to distinguish from other tabs in default theme.
[Is this code covered by automated tests?]: Yes
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: (This patch is rebased to beta and contains both patches)
[Is the change risky?]: No
[Why is the change risky/not risky?]: Only visual change (and test behavior)
[String changes made/needed]: No

Flags: needinfo?(julianwels)
Attachment #9479894 - Flags: approval-mozilla-beta?

Comment on attachment 9479894 [details] [diff] [review]
beta-rebase-1954490.patch

Approved for 138.0rc1

Attachment #9479894 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 1775634
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: