Improve contrast on the download details "blocked" text
Categories
(Firefox :: Downloads Panel, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | verified |
People
(Reporter: mconley, Assigned: molly)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-door-hangers] [priority:2b])
Attachments
(2 files, 1 obsolete file)
I think this is a matter of changing --downloads-item-font-size-factor to something like 0.8 when Proton is enabled. Whatever value gets us closest to the spec with the default font size.
Prathiksha, do you have time to look at this?
| Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) (Catching up on needinfos) from comment #0)
Prathiksha, do you have time to look at this?
Sorry Mike, I do not. I'm in the middle of wrapping up my existing commitments before my 2 week PTO begins.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 2•4 years ago
|
||
Depends on D113192
Comment 3•4 years ago
|
||
Was this affected by the broader font size changes that are slated to be reverted?
Updated•4 years ago
|
| Reporter | ||
Comment 4•4 years ago
|
||
Yes, the Downloads Panel was affected by the panel and modal font size change in bug 1701920. However, I suspect the work in bug 1703014 also made it so that the text under the filename ended up with the same relative font size as the filename.
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 5•4 years ago
|
||
Currently we are getting the 10% reduction from --downloads-item-font-size-factor, so the details text is slightly smaller (12px vs. 10.8px) than the filename text. Figma shows the two lines at 13px and 10px, so a wider range between the two. But the filename text size we have now matches the body text for other panels/menus, so changing that just here doesn't seem like the right move? And this comment in the abandoned patch looks correct; lowering the scale factor to make the details text 10px makes it look really small to me. I've attached a screenshot comparing the current state against that change.
So I'm not sure we really should try to change either font size, which would mean we don't have anything to do for this bug. Janice, can I get your thoughts?
Comment 6•4 years ago
|
||
(In reply to Molly Howell (she/her) [:mhowell] from comment #5)
Created attachment 9237585 [details]
size_comparison.pngCurrently we are getting the 10% reduction from
--downloads-item-font-size-factor, so the details text is slightly smaller (12px vs. 10.8px) than the filename text. Figma shows the two lines at 13px and 10px, so a wider range between the two. But the filename text size we have now matches the body text for other panels/menus, so changing that just here doesn't seem like the right move? And this comment in the abandoned patch looks correct; lowering the scale factor to make the details text 10px makes it look really small to me. I've attached a screenshot comparing the current state against that change.
So I'm not sure we really should try to change either font size, which would mean we don't have anything to do for this bug. Janice, can I get your thoughts?
Molly, I agree that the body text should stay consistent—are there any options to increase it across the board to 13px, or was that a decision made w/ Katie to keep it closer to 12px?
On another note, I'm noticing that the contrast of the red text : background seems low. Do you know if that was tested for accessibility?
| Assignee | ||
Comment 7•4 years ago
|
||
Yeah, the text size was a specific decision that was made a while back. I wasn't directly involved and I don't know the details, but initially in Proton we were using a larger size globally, and I think it was changed mainly to match the OS default (so that OS font size settings are reflected properly) and to reduce incidence of menus having to scroll on lower screen resolutions.
You're right about the contrast, thanks for pointing that out. There's actually some transparency being applied to that text, which I think is intended for the download status text, but I really don't think should be getting applied to these error messages. I'll see about fixing that.
| Assignee | ||
Comment 8•4 years ago
|
||
This bug was originally about changing the size of this text, but we aren't
really able to do that. We are however able to improve its legibility by giving
it some additional contrast against the background.
Based on the specs (and also on intuition, to be honest), I believe only the
"normal" download status text should be getting any reduced opacity, and the
error message states should not. So this patch undoes the opacity reduction in
the error states.
Comment 9•4 years ago
|
||
Thanks for giving text size decision context.
Sounds good re opacity. Thank you, Molly!
Comment 10•4 years ago
|
||
Updated•4 years ago
|
Comment 11•4 years ago
|
||
| bugherder | ||
Comment 12•4 years ago
|
||
The issue is verified fixed in Fx93.0b7 on windows 10, ubuntu 20.04 and macOS 10.15. The change to the contrast is very subtle but visible.
Description
•