From a708a53cd0229c3b7fb0a667c5ad07264f167612 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 10 Aug 2020 22:12:46 +0200 Subject: [PATCH] accessibility improvements (#499) --- ChangeLog | 2 ++ src/multicolorled.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 07a0485a..5049eae9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,8 @@ - replacing internal history graph functionality by external scripts/tools (#501) +- accessibility improvements (#499) + - bug fix: added more mutex in the server (should fix #480) - bug fix: --showallservers ping column sort is alphabetic (#201) diff --git a/src/multicolorled.cpp b/src/multicolorled.cpp index b9134a4c..c7dfbad4 100755 --- a/src/multicolorled.cpp +++ b/src/multicolorled.cpp @@ -72,6 +72,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag ) if ( eColorFlag != RL_RED ) { setPixmap ( BitmCubeRed ); + setAccessibleDescription ( tr ( "Red" ) ); eColorFlag = RL_RED; } break; @@ -81,6 +82,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag ) if ( eColorFlag != RL_YELLOW ) { setPixmap ( BitmCubeYellow ); + setAccessibleDescription ( tr ( "Yellow" ) ); eColorFlag = RL_YELLOW; } break; @@ -90,6 +92,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag ) if ( eColorFlag != RL_GREEN ) { setPixmap ( BitmCubeGreen ); + setAccessibleDescription ( tr ( "Green" ) ); eColorFlag = RL_GREEN; } break;