Open Bug 1303835 Opened 8 years ago Updated 2 years ago

The grey text in the location bar doesn't have enough contrast with dark theme

Categories

(Firefox :: Theme, defect, P3)

defect

Tracking

()

People

(Reporter: jaws, Unassigned, NeedInfo)

References

Details

Attachments

(2 files)

Attached image Dark theme (deleted) —
See attached screenshot. The greytext (not the hostname) is barely visible due to the low contrast.
Attached image Light theme (deleted) —
Priority: -- → P3
Blocks: 1331679

Contrast on mac is 3.51:1 on the dark theme. To make it good enough, we'd need it to be 4.5:1. It's marginally better on the light and default theme (3.95:1), but that's still technically too low.

The code at https://searchfox.org/mozilla-central/rev/92d11a33250a8e368c8ca3e962e15ca67117f765/layout/generic/nsTextFrame.cpp#3978-3980 currently just uses text color with 0.5 alpha. Upping it to a higher alpha component would probably fix this issue.

Of course, that would de-prioritize the emphasis we currently put on the main part of the domain. I don't know what we could do about that. Perhaps Aaron can help.

Flags: needinfo?(abenson)
Summary: The grey text in the location bar doesn't have enough contrast with dark Developer Edition theme → The grey text in the location bar doesn't have enough contrast with dark theme
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: