Bug 168798 - Accessibility problem: Pressed buttons background color is similar to application background.
Summary: Accessibility problem: Pressed buttons background color is similar to applica...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.8.2.2 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2025-10-10 15:53 UTC by toni1elias@outlook.com
Modified: 2025-11-14 12:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot W11 with Windows Light theme (103.62 KB, image/png)
2025-11-14 09:10 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description toni1elias@outlook.com 2025-10-10 15:53:02 UTC
Description:
Accessibility problem.
Pressed buttons' background color is similar to the app's background color, and it is hard to distinguish if a button is pressed or not.

Steps to Reproduce:
Open any LibreOffice apps.

Actual Results:
Accessibility problem.
Pressed buttons' background color is similar to the app's background color, and it is hard to distinguish if a button is pressed or not.

Expected Results:
The background color of pressed buttons should be more distinguishable from the background color of the application.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
https://webaim.org/resources/contrastchecker/
Comment 1 tkakar 2025-11-09 07:22:39 UTC
Tested in both:

Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

and latest master:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

It's a good point, but as it is now, you still get an outline of the button denoting that it has been pressed and is active.
Comment 2 Buovjaga 2025-11-14 08:20:18 UTC
toni1elias: Please copy and paste here the content of your Help - About (LibreOffice - About on macOS) by clicking the copy button. This allows us to know more about your system.

On Linux with kf6:
Foreground: D5D7D8
Background: EFF0F1

With gtk3, foreground is D5D6D7

The contrast ratio is 1.26 or 1.27:1
Comment 3 Heiko Tietze 2025-11-14 09:10:54 UTC
Created attachment 203969 [details]
Screenshot W11 with Windows Light theme

W11, Standard Windows Light theme, Vanilla LibreOffice

We comply with the OS/DE and it's theming (as long you don't install/modify own themes. It looks pretty okay to me - and if Windows has a11y issues it's not our bug. 

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ccfebc2718c2feb8324a4d6abbd45935dcdcc597
CPU threads: 16; OS: Windows 11 X86_64 (build 22000); UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded
Comment 4 Buovjaga 2025-11-14 09:50:33 UTC
(In reply to Heiko Tietze from comment #3)
> Created attachment 203969 [details]
> Screenshot W11 with Windows Light theme

That's not what this is about. Open Writer and press the Bold button.

But it's indeed fair, if the colours come from the OS. Then the complaints should be directed to the OS or toolkit devs.
Comment 5 V Stuart Foote 2025-11-14 11:43:19 UTC
(In reply to Buovjaga from comment #4)
> (In reply to Heiko Tietze from comment #3)
> > Created attachment 203969 [details]
> > Screenshot W11 with Windows Light theme
> 
> That's not what this is about. Open Writer and press the Bold button.
> 
> But it's indeed fair, if the colours come from the OS. Then the complaints
> should be directed to the OS or toolkit devs.

And in fact, testing the Windows 11 WDM os/DE provided 'Contrast themes' ('Aquatic', 'Desert', 'Dusk', 'Night Sky') without or with LO 'Enable application theming' the selected state of any button is sufficiently visible either by high contrast button outline or strong contrast of button bg to app background of the toolbar or widget.

Likewise, when LO appearance themes have been enabled, found none of the theme extensions that had objectionable fg/bg issues.

IMHO => NAB on Windows builds.
Comment 6 Heiko Tietze 2025-11-14 12:38:00 UTC
Resolving as NAB, feel free to reopen.