Closed Bug 1705323 Opened 5 years ago Closed 5 years ago

Adjust "Switch to tab" chiclet colors

Categories

(Firefox :: Address Bar, defect, P2)

Firefox 89
defect
Points:
2

Tracking

()

VERIFIED FIXED
90 Branch
Tracking Status
firefox89 --- verified
firefox90 --- verified

People

(Reporter: mak, Assigned: mak)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-address-bar] [priority:2c] [a11y][proton-uplift])

Attachments

(3 files)

+++ This bug was initially created as a clone of Bug #1702772 +++

Amy reported that Switch to tab chiclet in tab results changes color to hover on selected rows, and looks a bit confusing/distracting.
The reason for which we do that is that switch to tab has been styled as a chiclet, and if we didn't change its background it would disappear since the selected row has the same (or very close) background color.

We don't have a solution at hand yet, so I'm filing this as a placeholder to remember about this issue.
Maybe we could have the chiclet invert color (so take the panel background color) on selection, rather than use the hover color?
My favorite solution would be to go back to simple action text, as it was before, since this is not a button.

Amy, we discussed this during the review, we're still not sure how to proceed here, you said it needed a bit more brainstorming, thus I wonder if you had any new ideas for it.

Flags: needinfo?(amlee)

Hi,

I spoke to Harry about leaving the chicklet as is since if we change it, it ends up creating more complexity.

Flags: needinfo?(amlee) → needinfo?(htwyford)
Attached image switch.png

This one below in the sshot is my proposal, instead of using the confusing "active" color, we can just "invert" the chiclet, basically show the background panel color. it may be less confusing than making the chiclet react with tje active color, making it look like a button you can interact with, when it's not.

Romain, do you think it's worth making my proposed change to reduce confusion where users may thing that entry is a button by seeing the usual hover state? It just makes it a little bit more subtle, I'm happy to prepare a Try build for testing it if necessary.

Flags: needinfo?(htwyford) → needinfo?(rtestard)

Thanks Marco, I agree that your proposal feels right. A try build would be perfect to that Amy and I can review and validate this could ship.

Flags: needinfo?(rtestard)

taking to ensure others dont spend time on this, we're just waiting answers

Assignee: nobody → mak
Status: NEW → ASSIGNED

Hi,

There is inconsistency between Light/Dark theme with the new proposed change.

Please see the edits below so Dark theme follows the same "rules" as light theme

Hover state colour of Switch to tab chicklet for dark theme (Mouse/Keyboard) - Dark Grey 30 / #42424D
Default state colour of Switch to tab chicklet for dark theme - #2B2A33
Text - Dark theme text should be #FBFBFE in all states (I noticed 2 different font colours)

Screenshot for reference

Flags: needinfo?(amlee)

It's possible my mosaic of sshots ended up mixing a focused and an unfocused window, that would explain the different colors. I'll double check that anyway.

(In reply to Amy Lee [:amylee] UX from comment #9)

Hover state colour of Switch to tab chicklet for dark theme (Mouse/Keyboard) - Dark Grey 30 / #42424D

Ah, we are using 42414D because figma uses that, but then the color palette text says 42424D. I asked on you Slack to confirm a color because I'm not sure what we're supposed to use at this point.
The color we are using is correct, we are using #42414D. The Colors palette had a typo.

Default state colour of Switch to tab chicklet for dark theme - #2B2A33

This looks correct from my measurement.

Text - Dark theme text should be #FBFBFE in all states (I noticed 2 different font colours)

The color is correct on hover and selected, but it's wrong in normal mode.

Currently we use hover and active colors, that may be confusing for the user
because these are styles as chiclets but are not real buttons.
Using the panel background is a bit more discrete.

Summary: Active state colors for "Switch to tab" don't align with spec → Adjust "Switch to tab" chiclet colors
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/fb56b41f91c7 Change hover and active bgcolor for Switch to tab chiclets. r=harry,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Comment on attachment 9218926 [details]
Bug 1705323 - Change hover and active bgcolor for Switch to tab chiclets. r=harry

Beta/Release Uplift Approval Request

  • User impact if declined: Part of MR1 design, fixes design of the Switch to Tab chiclets in the urlbar
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce: This is just visual polish, probably not worth it
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Minor css changes, visual polish
  • String changes made/needed:
Attachment #9218926 - Flags: approval-mozilla-beta?
Whiteboard: [proton-address-bar] [priority:2c] [a11y] → [proton-address-bar] [priority:2c] [a11y][proton-uplift]

Comment on attachment 9218926 [details]
Bug 1705323 - Change hover and active bgcolor for Switch to tab chiclets. r=harry

Approved for 89 beta 6, thanks.

Attachment #9218926 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

This issue was verified during the pre-release testing of the Proton: Address bar feature.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: