High contrast and color blindness settings #1151
Replies: 12 comments
-
What desktops have these settings and how are they represented? xdg-desktop-portal cannot unilaterally invent a setting: it must exist in desktop environments first. |
Beta Was this translation helpful? Give feedback.
-
For sure GNOME has |
Beta Was this translation helpful? Give feedback.
-
To my knowledge color blindness settings don't exist on a desktop level, yet, so that's on to do list. So yeah, this is more of a reminder that we should add that at some point. |
Beta Was this translation helpful? Give feedback.
-
I was going to make a new issue about High Contrast, but given this one exists, with High Contrast as part of it, and to prevent duplicate issues, guess I'll just 'hijack' this issue to at least get the High Contrast aspect of it potentially solved first. Note: This message is solely about tackling the lack of a standardised High Contrast value, and not about Colour Blindness. High Contrast is an important accessibility feature, being a way to introduce more contrast in the user interface of applications for the visually impaired user-bases, however right now all the Desktop Environments that have HC options seem to store the setting in their own respective areas - wouldn't it be great if there was just ONE standardised hint/setting for applications to be able to read to detect if High Contrast is desired by the current user? My idea would be very similar to #633, except:
As for potentially adding application colour palettes for High Contrast, given some Operating Systems allow users to specify a colour palette for applications to follow in High Contrast, I'm sure that can be tackled in its own separate discussion (maybe even through a standardised colour palette for applications, irregardless of High Contrast, to follow and users/DEs to customise, ala KDE colour schemes or Windows Classic?). CC @Exalm from the GNOME side |
Beta Was this translation helpful? Give feedback.
-
Note: I'm ready to make a pull request (once I figure out how to add boolean values to the necessary xdg-desktop-portal files), but I haven't made one yet because I want to be sure everyone is a-ok with it being a boolean, first. |
Beta Was this translation helpful? Give feedback.
-
Just noting here that Pantheon doesn't support a high contrast mode, so that's kind of all you need to know from our side :) Rationale is based on the WCAG success criteria for contrast wherein it is stated that users with vision loss above what would be considered AAA contrast ratios typically use assistive technologies like magnification or screen readers. So our goal is to have the default styles meet the WCAG success criteria instead of having a separate mode. I don't think we've made a hard stance regarding color blindness, but generally I think we have a similar outlook where we try to avoid using only color to convey data in the default styles already |
Beta Was this translation helpful? Give feedback.
-
That's fair enough, though... while unrelated to this issue, wouldn't it be potentially beneficial to still supply an option in Accessibility just for all the non-elementary applications ('Request applications to use higher contrast'?), like those using LibAdwaita, as well as websites on the internet (given websites are often given High Contrast treatment on other platforms when H.C. is enabled)? It's completely up to y'all to decide whether that's a good idea to consider or not, but... yeah, just food for thought if we get the High Contrast value standardised. Ultimately, irrespective of this, I think all that needs to be done here is just deciding if a boolean is ok for the DEs that do want/have High Contrast switches, and if so, getting a Pull Request made for doing just that. We can always discuss the potential addition of application colour palettes to supplement H.C. in a separate issue. |
Beta Was this translation helpful? Give feedback.
-
GNOME has a high-contrast pref atm, but it's used as a catch-all for everything a11y - things like larger click targets in the past and switch labels now. Or making certain buttons non-flat. etc. That needs to be fixed, not standardized. |
Beta Was this translation helpful? Give feedback.
-
In all fairness, right now LibAdwaita does have a HighContrast variant, doesn't it? Yes, whatever issues there might be can always be fixed in the future, but for right now wouldn't it be beneficial in general to get a standardized value and have every toolkit, every application with High Contrast functionality possible follow it, GTK/LibAdwaita included? |
Beta Was this translation helpful? Give feedback.
-
No, it can't be changed anymore if it's standardized. That's the whole point of standardizing it. |
Beta Was this translation helpful? Give feedback.
-
I mean, this standardisation would just be a hint for applications to indicate high contrast is desired or not, fundamentally. The implementation on the application's side can always be adjusted. Edit: Additionally, further standards can always be made if needed, to accomodate for smaller things. As it stands right now, though, there is merit for having a standardised generic 'please use high contrast' hint at the very least. |
Beta Was this translation helpful? Give feedback.
-
For high contrast, I just created a proof-of-concept merge request that'd theoretically add a standardised hint for the option at #1175 |
Beta Was this translation helpful? Give feedback.
-
Similar to the org.freedesktop.appearance.color-scheme key in the settings portal it might be a good idea to expose
Beta Was this translation helpful? Give feedback.
All reactions