high-contrast

What actually happens to CSS in high contrast mode?

你。 提交于 2019-12-19 05:21:04
问题 Can anyone explain what happens to CSS in high contrast mode? http://hardlikesoftware.com/weblog/2009/11/04/css-sprites-vs-high-contrast-mode/ In high contrast mode all background images and colors are ignored — replaced with high contrast colors such as white on black or black on white. The other issue is that background images are not always printed. Is there anything more than this? I have login form that looks suboptimal and I am trying to investigate. Untill recently there were https:/

Where does Visual Studio 2017 store its config?

試著忘記壹切 提交于 2019-12-17 03:36:42
问题 In VS 2015 and earlier, settings were stored in the registry, e.g. HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config . In VS 2017, to support multiple instances of VS, the settings were moved out of the registry, according to this post. I have previously been editing the registry to force Dark Theme when Windows is in High Contrast mode, according to this SO answer. Now I want to do the same in VS 2017 but cannot find where the settings are stored, to make this change. Where are

Where does Visual Studio 2017 store its config?

偶尔善良 提交于 2019-12-17 03:36:01
问题 In VS 2015 and earlier, settings were stored in the registry, e.g. HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config . In VS 2017, to support multiple instances of VS, the settings were moved out of the registry, according to this post. I have previously been editing the registry to force Dark Theme when Windows is in High Contrast mode, according to this SO answer. Now I want to do the same in VS 2017 but cannot find where the settings are stored, to make this change. Where are

-ms-high-contrast-adjust equivalent in IE9

邮差的信 提交于 2019-12-11 19:41:14
问题 One of our CSS files uses -ms-high-contrast-adjust: none to make sure some background features show up even under high contrast mode. It works fine on IE10 and IE11. Now we're trying to port the same CSS to IE9, and obviously it's not supported. What's the equivalent of the -ms-high-contrast-*** property under IE9? Is there some other way to trick the browser to not change features with the "high contrast mode" setting? 回答1: There ain't an equivalent. Remarks The -ms-high-contrast media

Preventing high-contrast mode in Edge from adding background to text

馋奶兔 提交于 2019-12-10 10:51:41
问题 I'm working to adjust some components so that they all function and look good in high-contrast mode. Edge seems to be adding a black background under all text that IE11 does not add. I can't seem to find a way to target this background in CSS, or any other way to normalize the behavior between the two browsers. For example, let's say I have the following: <div class="SelectedText"> Text! </div> And let's say I assigned background-color: cyan; and color: black; to the .SelectedText div. In

Preventing high-contrast mode in Edge from adding background to text

旧城冷巷雨未停 提交于 2019-12-06 05:39:56
I'm working to adjust some components so that they all function and look good in high-contrast mode. Edge seems to be adding a black background under all text that IE11 does not add. I can't seem to find a way to target this background in CSS, or any other way to normalize the behavior between the two browsers. For example, let's say I have the following: <div class="SelectedText"> Text! </div> And let's say I assigned background-color: cyan; and color: black; to the .SelectedText div. In this scenario, IE11 renders it as expected with the div and text having the assigned colors. However, in

How do I detect if a display is in High Contrast mode?

浪子不回头ぞ 提交于 2019-12-01 09:16:45
问题 I'm testing my company's established Swing application for accessibility issues. With high contrast mode enabled on my PC certain parts of this application are rendered properly (white-on-black) and some incorrectly (black-on-white). The bits that are correct are the native components (JButton, JLabel and whatnot) and third party components from the likes of JIDE. The incorrect bits are custom components and renderers developed in-house without consideration for high-contrast mode. Clearly it

How to detect MAC OS inverted color mode in JavaScript / CSS?

倾然丶 夕夏残阳落幕 提交于 2019-12-01 06:21:58
问题 I want to do some extra contrast work if the OS is in high contrast mode. With Windows we can use the media queries like @media screen and (-ms-high-contrast: active) {} which would detect this via media query and we can extend the functionality from there. If we don't have a media query like this in Mac OS, perhaps there's a JS alternative? Or does it invert the colors at such a low level that we can't really look into it at all? 回答1: you can do this in safari technical preview right now:

What actually happens to CSS in high contrast mode?

淺唱寂寞╮ 提交于 2019-12-01 03:46:31
Can anyone explain what happens to CSS in high contrast mode? http://hardlikesoftware.com/weblog/2009/11/04/css-sprites-vs-high-contrast-mode/ In high contrast mode all background images and colors are ignored — replaced with high contrast colors such as white on black or black on white. The other issue is that background images are not always printed. Is there anything more than this? I have login form that looks suboptimal and I am trying to investigate. Untill recently there were https://www.google.com/search?q=axs+aol+accesibility+library but it doesn't seem to exist any longer. Generally

Where does Visual Studio 2017 store its config?

徘徊边缘 提交于 2019-11-26 17:30:08
In VS 2015 and earlier, settings were stored in the registry, e.g. HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config . In VS 2017, to support multiple instances of VS, the settings were moved out of the registry, according to this post . I have previously been editing the registry to force Dark Theme when Windows is in High Contrast mode, according to this SO answer . Now I want to do the same in VS 2017 but cannot find where the settings are stored, to make this change. Where are these settings stored for Visual Studio 2017? Geir Sagberg I found the answer in this blog post : See