New answers tagged

1 vote

Contrast ratio for button background color?

According to W3.org it passes. Because the blue is distinct against the yellow and the hit-area doesn't need to be defined... "This success criterion does not require that controls have a visual ...
user avatar
  • 11
0 votes

Why are Inverted Colors considered an accessibility feature?

I am thankful for this question. What I am going to say comes from personal experience. I am a graphic designer who has undergone eye surgery then became mostly a developer. There are a few components ...
user avatar
  • 101
1 vote

How do you decide when to make elements darker or lighter on hover?

There really is no "set in stone" rule. As long as they are visible and accessible, you are OK. However, it is quite common to make links darker on light backgrounds and links lighter on ...
user avatar
  • 33.1k
0 votes

Alternatives for red/green in diff output

Short, practical answer (since I was asked about it in a comment): In Git Open ~/.gitconfig and add [color "diff"] old = yellow new = blue See git --help config for details. In GitLab Go to ...
user avatar

Top 50 recent answers are included