Closed Bug 1491614 Opened 6 years ago Closed 9 months ago

Red text for download notification warnings should use --text-color-error

Categories

(Firefox :: Downloads Panel, defect)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
122 Branch
Accessibility Severity s2
Tracking Status
firefox122 --- fixed

People

(Reporter: ntim, Assigned: dao)

References

Details

(Keywords: access)

Attachments

(2 files)

(In reply to Amy Lee [:amylee] UX from bug 1468453 comment #13)
> Hi, 
> 
> The red we have in the photon palette doesn't pass contrast tests in Dark
> theme. I will mention this to the DSG team. In the meantime, my
> recommendation is to use the default text colour we have currently for
> downloads.
Mentor: dao+bmo
Keywords: access
Priority: -- → P3
Just looked at this with Paolo, we think it needs design input.
Keywords: good-first-bug
Bug 1468453 comment #13 is exactly UX input here, not sure what else needs input here...
Flags: needinfo?(paolo.mozmail)
As far as I know, the red text for the malware case was an explicit design decision to convey the severity level of the threat. This doesn't work with the dark theme, and the way I read the recommendation in comment 1 is to use the default text color with dark themes, but make no changes to the current red color with the light theme.

Conversely, the fix suggestion in comment 1 would get rid of the red color for all themes, which I don't think is what we want here. Amy, is that correct?
Flags: needinfo?(paolo.mozmail) → needinfo?(amlee)
(In reply to :Paolo Amadini from comment #4)
> As far as I know, the red text for the malware case was an explicit design
> decision to convey the severity level of the threat. This doesn't work with
> the dark theme, and the way I read the recommendation in comment 1 is to use
> the default text color with dark themes, but make no changes to the current
> red color with the light theme.
> 
> Conversely, the fix suggestion in comment 1 would get rid of the red color
> for all themes, which I don't think is what we want here. Amy, is that
> correct?

Yes, please keep the red color for light/default theme
Flags: needinfo?(amlee)
Keywords: good-first-bug
We also have similar red text in the Site Identity panel. It doesn't necessarily have to be handled in this bug, but the solution would probably be similar.
Hi Dão Gottwald,
I am Komal from Pune, India. I am novice to open source. But really interested to learn and contribute for this organization. Can I work on this issue? I need help, as to how do I go about it?
Thank you!
Flags: needinfo?(dao+bmo)
Sorry, Komal, but I don't think this issue is a good first bug.
Mentor: dao+bmo
Flags: needinfo?(dao+bmo)
Keywords: good-first-bug

Okay,No problems! Thanks!

*problem

See Also: → 1530632
Severity: normal → S3
Accessibility Severity: --- → s2

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:dao, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

I'm not even sure if this bug is still happening. Can someone confirm? Something may have changed here in the last 5 years.

Severity: S3 → --
Component: Theme → Downloads Panel
Flags: needinfo?(dao+bmo)
Priority: P3 → --

STR:

  1. open http://testsafebrowsing.appspot.com/
  2. click the "Should show a "malicious" warning, based on content: link [W/M] " link under "Desktop Download warnings".

The colour adapts correctly in the default dark theme. It gets set here: https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/browser/themes/shared/downloads/downloads.inc.css#78-80 .

I imagine it's not visible on custom themes, and it may need changes for HCM?

Flags: needinfo?(dao+bmo)

Making this visible to triage while I'm here.

Type: enhancement → defect
OS: Unspecified → All
Hardware: Unspecified → Desktop

We should use --text-color-error from bug 1868412, it should work for most themes.

Depends on: 1868412
Flags: needinfo?(dao+bmo)
Summary: Don't use red text for download notification warnings → Red text for download notification warnings should use --text-color-error
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
See Also: → 1869596
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aeb89c4f4246
Red text for download notification warnings should use --text-color-error. r=desktop-theme-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: