-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specification for embedding a dark/bright-mode toggle-switch into websites #125
Comments
This seems to have some overlap with #117 ... however, this doesn't propose a feature, but rather authoring (web developer) requirements? |
It is advisable for authors to honor the |
Just wanted to put up a link to the FluidUI project https://fluidproject.org/projects which handles this quite well. As much as browsers can handle much of this, I do think it is useful to have the buttons as users often forget or never knew they could set their preferences. Just like the text size, browsers can do it, but ultimately users probably haven't memorized the Control-+ key strokes to adjust the size. |
So you would want a draft to ask webdevelopers to embed FluidUI into their websites, right? |
@mgifford Do you want to reply to my previous post? Also, even the official Brussels website already has such button on the right side. https://www.brussels.be/ |
Introduction
In the past year, I (and probably everyone else too) stumbled across more and more websites (news websites for example) that automatically render in darkmode when the OS (example: Windows) user-setting is set to dark mode and the browser-dark-mode-preference is set to "automatic" instead of bright or dark. We have to assume however that there also is a large group of users surfing the web that only would like their Windows OS and browser-settings menus to appear in a dark design (example: Firefox) while displaying most websites in the normal bright (white) reading mode. (for the other way around, even browser-addons like "dark reader" already exist, but this is regarding displaying websites that do not depend on a preference to display in dark).
I was looking for a W3 specification regarding recommending web-developers to embed a dark/bright-mode toggle switch into the top right corner into their websites but I could not find any.
We can not expect from web-developers to also create "bright mode"-browser-addons, as those would massively conflict with usage of "dark reader"-addons to my knowledge, if users have both types of addons installed (which would be in a desperate attempt to overwrite website-preferences, obviously).
Use Cases
If user has set OS (example: Windows) to dark mode and browser display-mode preference (if applicable) to "automatic", but user prefers to manually display specific websites in bright mode and save that setting via a website cookie. Many many websites do not include such a dark/bright/device-setting toggle-switch yet.
Proposed Solution
A W3 specification recommending web-developers to embed a dark/bright-mode toggle-switch into the top right corner into their websites and save the state in a cookie (or also maybe mention top left corner instead, if the switch does not fit to the top right corner in their website-design? This part of the proposal would need to be discussed)
Example
www.YouTube.com has a dark/bright switch already for a very very long time now, which is saved across browser sessions (in a browser-cookie, I assume)
Privacy & Security Considerations
"No considerable privacy or security concerns are expected, but we welcome community feedback."*
Let’s Discuss (Optional)
In my opinion it does not make sense to expect from web-developers to also create "bright mode"-browser-addons, as those would massively conflict with usage of "dark reader"-addons to my knowledge, if users have both types of addons installed (which would be in a desperate attempt to overwrite website-preferences). Correct?
The text was updated successfully, but these errors were encountered: