• 4am@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    7 months ago

    Yeah but “HighContrast” is enough; if you need to know the Why and not the What you can find a comment at the definition. There’s not need to carry the whole Wiki article everytime you need to use the variable.

    • Kushan@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 months ago

      I think the argument about “for accessibility” is missing the point a little bit and a common mistake most developers make.

      You should endeavour to make your interface accessible by default. You shouldn’t be thinking in terms of “okay here’s the design and here’s the design that’s accessible”, you should be considering accessibility in all of your designs.

      Now that’s usually a bit harder with games because you have styles and themes that you don’t want to detract from, but if your interface causes accessibility issues, it’s generally going to be bad for people that don’t have accessibility needs as well.

      Accessibility benefits everyone.