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
0
votes
0 answers

High contrast page, jQuery toggle class, if class is there and changing url put this class on element

So I'm trying to make a button on page that changes it to high contrast page on click, it is working already, but if I go to different link on this page this high contrast class is not there and I need to click my button again to have page in high…
kattiegrab
  • 33
  • 1
  • 4
0
votes
0 answers

accessible d3 text in high contrast

I have a simple donut chart that I created using d3. My code is very simple and I have a text inside the donut chart that I added using element. Something similar like this example here, but much simpler. var style = { …
blenzcoffee
  • 851
  • 1
  • 11
  • 35
0
votes
0 answers

Is the placeholder text in a content editable div counted as disabled text?

With IE and using Window's default Black high contrast mode, the disabled text should have a green color. However, I found in my app, the placeholder text in does have a green color but the placeholder text in content-editable div will…
Mapleman
  • 45
  • 1
  • 8
0
votes
1 answer

Forcing a UWP app to use Default theme

For the current version of our app we do not support high contrast mode. The support for high contrast (with properly designed UI, etc.) is something that we will be adding to our app in a subsequent release/update. Is there an easy way to force a…
0
votes
1 answer

Windows High Contrast Mode: How are colours computed? How can colours be specified for focused elements?

How does Windows High Contrast decide which colours it uses to display website elements? And is it possible to let it display other colours when an element is focused? For example, on https://www.post.ch/en, the "Consignment number" input field is…
Joshua Muheim
  • 12,617
  • 9
  • 76
  • 152
0
votes
2 answers

Random background color for multiple foreground colors

I need to generate a random background color that's visually pleasing for three types of text color: ARGB(255,255,255,255), ARGB(63,255,255,255), and ARGB(255,0,0,0). The colors are white, white at 0.25 opacity, and black. I have yet to see an…
Mark13426
  • 2,569
  • 6
  • 41
  • 75
0
votes
1 answer

I see borders in high contrast mode even if I don't specify any borders to form input fields. why?

Even if I don't specify borders, how is the high contrast mode displaying a border?
KannarKK
  • 1,593
  • 20
  • 35
0
votes
3 answers

Hide span with CSS but showing tooltip (has to work with high contrast and IE8)

i want to hide a span element containing a tooltip using the same color for font as for the background, so that it is visible to screenreaders and invisible on the page but if you hover over it, you can still see the tooltip (which does not work…
user1323246
  • 433
  • 2
  • 6
  • 23
0
votes
1 answer

How to toggle High Contrast mode in VB.Net for all elements?

Is there anyway of having a button (btnHCon) clicked event in which enables high contrast mode in vb.net (and then obviously one in which turns it off again)? I am looking to add the functionality/accessibility in adding this to my project (similar…
jbutler483
  • 24,074
  • 9
  • 92
  • 145
0
votes
1 answer

How to set different style for black and white high contrast mode in wpf

I use this method to set high contrast style in xaml: ... But there're two main high contrast mode, black and…
Allen4Tech
  • 2,094
  • 3
  • 26
  • 66
0
votes
1 answer

-ms-high-contrast-adjust equivalent in IE9

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.…
Fangliang Xue
  • 364
  • 2
  • 16
0
votes
1 answer

Retina sprites and high contrast mode

So this is a tricky question I know. I've faced the issues with sprites and high contrast mode, basically it can be solved with code as follows: .icon:before { content: url(icons.png); position:relative; left:-2px; top:-109px; } .icon { …
Antonio Laguna
  • 8,973
  • 7
  • 36
  • 72
0
votes
1 answer

High contrast trigger on a WPF window

I'm trying to apply a trigger to a base WPF window I made. I can successfully apply styles to it but the trigger doesn't seem to work. Essentially what I'm doing is at runtime I'm dumping the current resource dictionaries in the application and…
user892381
1 2 3 4
5