搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Text in input boxes is often white on white background

more options

Since updating to macOS Big Sur, I noticed that on some websites I can't see the text I'm typing into input fields. It appears as white text on a white background, only when I select it, I can see it. The weird thing is that it doesn't happen on every website.

The problem occurs on websites when I'm using the macOS Dark Mode. But when I switch to Light Mode, the problem actually becomes worse and the address bar also becomes illegible.

I've already tried refreshing Firefox but that didn't help.

附加的畫面擷圖

所有回覆 (2)

more options

There are always issues possible when you use dark mode or modify the default colors in Options/Preferences if a webpage only specifies one of the (text and background) colors and assume that the other is what you would expect in normal mode (black text on white background).

You can check in the Inspector what CSS rules the website uses for the colors of a button or input field to see what colors they specify.

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected.

more options

That's the weird part: the text color should be black according to CSS. The issue seems to be specific to Firefox, I don't have the same problem using Dark Mode with Safari or Chrome.

Since the problem also occurs in the Firefox UI (see the address bar example in my first post), I think the problem is somewhere else than CSS.