Earlier quoted context omitted.
Do you want a pop up every time you browse a page?
They can throw it in the popup that tells me about cookies.
Dear web developers: set the font color, too
101–110 of 151 posts
Re: Dear web developers: set the font color, too
#102Earlier quoted context omitted.
How else should a site query for the user preference? Everyone is operating in the blind right now.
Sites are already styled according to the user's preference, by default. If you want to respect the user's preference, stop overriding things with CSS.
For accessibility reasons, using the zoom feature is much more stable than increasing the default font size.
Re: Dear web developers: set the font color, too
#103Apple introduced Dark Mode expecting all major websites to maintain some CSS just for a small percentage of macOS users. I don't think it's going to happen (and it's not happening)
This comment intrigued me, so I did some digging. Looks like "prefers-color-scheme" is currently being considered by both Chrome[1] and Firefox[2]. A can-I-use page was just created for it[3]. I'm excited by this one! Think I'll add dark mode support to my simple blog right now. [1] https://bugs.chromium.org/p/chromium/issues/detail?id=889087 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1494034 [3] https://canius…
Now to wait for better browser support.
Re: Dear web developers: set the font color, too
#104Re: Dear web developers: set the font color, too
#105This is the browser's fault for violating the HTML spec. As per the specification, the default font color is complete black and the default background color is complete white. To my knowledge the only browser that does not honor this is Firefox[1], and it is an eighteen year old bug which they refuse to fix. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=70315
Re: Dear web developers: set the font color, too
#106This is the browser's fault for violating the HTML spec. As per the specification, the default font color is complete black and the default background color is complete white. To my knowledge the only browser that does not honor this is Firefox[1], and it is an eighteen year old bug which they refuse to fix. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=70315
[0] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
Re: Dear web developers: set the font color, too
#107This is the browser's fault for violating the HTML spec. As per the specification, the default font color is complete black and the default background color is complete white. To my knowledge the only browser that does not honor this is Firefox[1], and it is an eighteen year old bug which they refuse to fix. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=70315
I looked through the bug report and couldn't find the specification you're referencing. Do you have a link to it by any chance?
https://html.spec.whatwg.org/multipage/rendering.html#phrasi...
"The initial value for the 'color' property is expected to be black. The initial value for the 'background-color' property is expected to be 'transparent'. The canvas's background is expected to be white."
Re: Dear web developers: set the font color, too
#108Personally I set up an override in my browser. it's a mono, a sans and a serif, sizes 8-14 or so. All black.
The internet is readable again.
Re: Dear web developers: set the font color, too
#109This is the browser's fault for violating the HTML spec. As per the specification, the default font color is complete black and the default background color is complete white. To my knowledge the only browser that does not honor this is Firefox[1], and it is an eighteen year old bug which they refuse to fix. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=70315
Re: Dear web developers: set the font color, too
#110Earlier quoted context omitted.
I just tested Firefox on xfce and it shows the problem. Safari, Firefox, and Chrome on MacOS in dark mode do not have this problem. This appears to just be a Firefox on linux issue.
Firefox is doing what is technically the correct thing in using system colors text color and background when not specified. Web developers are just not terribly competent. It should be obvious that setting text color but not text background is erroneous. Since expecting basic competence from web developers seems to be a losing battle several things suggest themselves. - provide a gui option to select the theme/style…