-
Notifications
You must be signed in to change notification settings - Fork 8
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
High contrast improvements #65
Comments
Via @phiw13 (moved from incorrect issue thread): Before I forget what I discussed with some windows users (one of them an IT go-to guy working for a midsize British city, who notes: very low usage amongst his users).
[*] the tl;dr - Open Firefox on your Mac, Preferences > Contents, click the “Colors” button, set the drop-down to “always”. Enjoy the view – this is what IE11 on Win 7, and Edge see. Specifically for Hive: missing icons, absolutely no feedback as to focus state. For the latter, there is an easy fix: instead of using On Windows 8, as noted in previous conversation, there are couple of media queries. These can be used to load high contrast icons. It works!
and ditto for white-on-black. For Firefox (which does respect the users choice of high-contrast mode) there are, as far as we could think, no easy solutions for the icons. |
Or perhaps this won’t be needed after all, as future Edge releases will (eventually) load all background-images. See this blog post . See also a relevant Firefox bug. |
A couple of notes:
Edge 15 makes it easier, but still needs to account for older versions (Win 8.x, Win 7) + Firefox. PS - making Sandspace mostly work well with High-contrast themes: an additional ~1,6kb in the stylesheet (screenshot, see the spinner?: https://emps.l-c-n.com/images/28.png) PS2 - to quickly toggle (temp) between default and High-Contrast theme on Win 10: left-Alt + left-Shift + Prtsc buttons. |
Thanks Philippe - interesting stuff. I have a Windows 10 laptop now so I can directly test out some fixes for this, as noted. Seems like it'll be an ongoing job to improve the themes as the current high-contrast modes are a bit limited in scope (and no standardised browser-/OS-wide implementation exists). |
Thanks Philippe Wittenbergh. See philwareham/textpattern-hive-admin-theme#65.
Dealing with icons - this works perfectly to load/display the icons on Win 10, and I think on Win 8 with IE 11.
One issue remains: with Win8.x + IE the icons are barely visible on white-on-black and with both Win 8 and 10, if the user chooses a theme that is not the default black/white - e.g. dark blue background + light (white) foreground, the second MQ does not kick in and the icons are hard to see. The solution I’m considering is add a semi-translucent background-color to
|
Thanks Philippe. I've added some of those high-contrast rules now. Let me know how your further investigations go. |
Regarding the display of icons in high-contrast mode - improving the contrast with custom user schemes (e.g. the user set a darkish background colour and light foreground colour such as dark blue + yellow, some dyslexic people seem to favour that combo). Windows does not flag this as a “white-on-black” theme The least insane way of solving this I found is adding a (faint) semi-translucent white background color. This will improve contrast with the background-color set by the user. Code wise – and this can be extended to your other icons and eventually your little toggle arrows (table sorting etc).
The above is what I use for Sandspace theme. For Hive, you may want to reset the |
Related: #74 |
For a modern take - with standardised MQ’s: (assuming you have not seen this yet) |
Cheers Philippe - I will read soon. I had stumbled across the |
Investigate high contrast modes in OSX and Windows (and anywhere else). See 31302fc#commitcomment-16096579. Target Textpattern 4.7 for any potential gains.
The text was updated successfully, but these errors were encountered: