Questions tagged [high-contrast]

Use this tag for questions about high contrast scenarios in software, web development, browser extensions, etc. High contrast content benefits people with various visual impairments as well as users with normal vision under variable lighting conditions.

High contrast design and content make an application or website usable by people with certain visual impairments. High contrast may also be beneficial for the battery life of one's device and preventing eye strain. Further explanation for reasons to use high contrast mode.

Contrast standards are codified by the Web Content Accessibility Guidelines (WCAG) under Success Criterion 1.4.11: Non-text Contrast and Success Criterion 1.4.6 Contrast (Enhanced).

73 questions
44
votes
5 answers

Where does Visual Studio 2017 store its config?

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…
Geir Sagberg
  • 9,632
  • 8
  • 45
  • 60
24
votes
4 answers

How do I use visual studio 2012 dark theme with windows 8 high contrast theme?

When I use a standard Windows aero theme in Windows 8, the VS2012 lets me to choose between light and dark themes, but I created myself a convenient high contrast theme in Windows 8, and now there is only a greyed option in the VS settings that says…
17
votes
1 answer

What would be getDesktopProperty() for Linux?

I have to read the high contrast mode of the native os and have to apply the settings on my product. Now for windows I have done some thing like this: try { Toolkit toolkit = Toolkit.getDefaultToolkit(); boolean highContrast =…
Reuben
  • 5,556
  • 10
  • 43
  • 55
16
votes
4 answers

What actually happens to CSS in high contrast mode?

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…
Mars Robertson
  • 12,673
  • 11
  • 68
  • 89
8
votes
3 answers

How to check if user is in high contrast mode via JavaScript or CSS

When pressing Shift+Left+Alt+Print Windows switches into high contrast mode - is there any chance to detect that on a web page (using JavaScript or CSS)? Is there any chance to detect that in the HTTP-Request (a.k.a the server-side e.g. via PHP or…
pagid
  • 13,559
  • 11
  • 78
  • 104
6
votes
4 answers

How do I detect if a user has Mac OS high contrast accessibility settings enabled?

I have a React/TypeScript project, and I am trying to detect if a user has any of Mac OS's high contrast accessibility settings enabled: Invert colors, Use grayscale, Differentiate without color, Increase contrast, or an increased Display contrast…
Super Jade
  • 5,609
  • 7
  • 39
  • 61
6
votes
3 answers

Detect High Contrast extension use in Chrome browser

I am trying to make my website accessible in high-contrast mode. In order to detect when high-contrast mode is enabled, I created a JavaScript method to detect if background images are disabled, because high-contrast mode disables background images.…
CascadiaJS
  • 2,320
  • 2
  • 26
  • 46
5
votes
1 answer

CMFCMenuButton not properly repainting when toggling high contrast mode

In an C++ MFC project I'm using CMFCMenuButton using MSVC 2013. When I toggle the high contrast mode the button is not properly repainted (for comparison a normal button is displayed): Calling Invalidate() or…
MrTux
  • 32,350
  • 30
  • 109
  • 146
5
votes
1 answer

How to Dim Chrome loading screen between page loads (to black out white flash)?

As a dimming/darkening work around to the notorious white flash in between Chrome page loads, how could the small default loading notification (below) be exploited to cover the entire screen? In other words, is it possible to create an entire wall…
ecoe
  • 4,994
  • 7
  • 54
  • 72
5
votes
3 answers

Inline images and high contrast mode for web accessibility

I have been following the discussion on high contrast mode and background image sprites but I have a more basic question about inline images and HCM. For low-vision users without a screen reader on HCM, will they have difficulty seeing the inline…
Ramya
  • 289
  • 6
  • 17
4
votes
4 answers

How to programmatically enable "-ms-high-contrast" media query?

I'd like to enable high contrast mode on my site and put all accessibility-related rules inside the high contrast media query: @media screen and (-ms-high-contrast: active) { /* All high contrast styling rules */ } However, how do I enable such…
Mike Doe
  • 16,349
  • 11
  • 65
  • 88
4
votes
3 answers

How do I use SQL Management Studio 2017 with Dark Theme with Windows 10 High Contrast theme?

I've followed this guide to enable dark theme in VS2017 with the high contrast Windows theme: How do I use visual studio 2012 dark theme with windows 8 high contrast theme? Works great. Now I'm trying with SQL Mangement Studio 2017. I have enabled…
plumkaZ
  • 101
  • 1
  • 6
4
votes
3 answers

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

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…
Mavi Domates
  • 4,262
  • 2
  • 26
  • 45
4
votes
2 answers

The Concept of Homomorphic Filtering

I am trying to understand the concept of homomorphic filtering, I have read several online pages about this topic such as http://en.wikipedia.org/wiki/Homomorphic_filtering However, I noticed a scarce online resources that discuss this topic.…
3
votes
1 answer

Keep Form.BackgroundImage visible in high contrast mode

I have a .NET Winform with a background image, and testing just reported the BackgroundImage is hidden when display settings in Win7 are set to high contrast mode. I understand why MS does this by default, but I'm hoping there is a way to override…
eselk
  • 6,764
  • 7
  • 60
  • 93
1
2 3 4 5