Accessibility: Minimum contrast ratio for Konsole

A mini demo translated from xterm.js

Peek 2024-01-07 17-48

This is a feature implemented in iterm2 many years ago.

The idea is simple,

  • Keep the background unchanged,
  • increase the illuminance/brightness of the foreground if the contrast is too low

So that the contrast between text and background is always higher than the desired level.

Related https://github.com/KDE/konsole/blob/master/src/terminalDisplay/TerminalPainter.cpp

1 Like

PLEASE
I need this. FFmpeg is impossible to read

image

Hi - for what it’s worth, this idea has been submitted as a feature request in the KDE Bugtracking System: 451109 – [Accessibility] Minimum contrast ratio

This looks like something that will just require someone with the time, ability and interest to jump in and figure out how to implement :slight_smile: