Andy,
@Andy@programming.dev avatar

No. In addition to browsers’ prefers-dark-mode setting, there is also the fallback foreground and background color choice, used whenever a website does not specify a foreground or background color. One common case is when viewing a plain unstyled site or txt file.

A dark-mode preferring user might choose for these fallbacks a light foreground and dark background. The problem is then that some designers will carelessly specify either the foreground or background color (and not both), assuming that their choice will happen to have good contrast with every user’s browser preferences.

More low contrast examples from the Statamic docs:

Statamic search field

Statamic adspace

In Firefox’s preferences page those settings are accessed with the “Manage Colors” button just below dark-mode selection, and look like this:

Firefox Preferences – Manage Colors

Notice that I am not overriding any colors specified by the page.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhost@lemmy.ml
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines