Bug 578630 - [Accessibility] Labels are invisible at Model Spy Form tab dialog under high contrast theme
Summary: [Accessibility] Labels are invisible at Model Spy Form tab dialog under high ...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.23   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: 4.23+   Edit
Assignee: Niraj Modi CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2022-02-08 01:09 EST by Masayuki Fuse CLA
Modified: 2022-03-17 04:54 EDT (History)
5 users (show)

See Also:


Attachments
Application default tab (50.55 KB, image/png)
2022-02-08 01:09 EST, Masayuki Fuse CLA
no flags Details
With patch Win10_HighContrast_ModelSpy_Application_default_tab (63.97 KB, image/png)
2022-03-16 06:12 EDT, Niraj Modi CLA
no flags Details
Without patch Win10_HighContrast_ModelSpy_Application_default_tab (76.93 KB, image/png)
2022-03-16 06:59 EDT, Niraj Modi CLA
no flags Details
Windows11 Desert theme (64.51 KB, image/png)
2022-03-17 02:31 EDT, Masayuki Fuse CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masayuki Fuse CLA 2022-02-08 01:09:38 EST
Created attachment 288009 [details]
Application default tab

Environment: Windows11 English

Steps to reproduce
1. Choose High Contrast theme "Aquatic" from Windows Settings > Accessibility > High Contrast Theme and Apply
2. Back to Eclipse, open Model Spy and Form tab
3. Open Default tab of Application

White is used for the Back ground and some labels are invisible. Supplementary tab has the same issue.
Comment 1 Vikas Chandra CLA 2022-02-25 05:29:29 EST
Olivier/Lars, can you have a look?
Comment 2 Niraj Modi CLA 2022-03-15 05:56:02 EDT
IMO, this can very well be an issue with CSS coloring.
Also double check if this can be fixed by tweaking high-contrast.css file.
Comment 3 Vikas Chandra CLA 2022-03-16 05:09:16 EDT
Lars, can you have a look?
Comment 4 Niraj Modi CLA 2022-03-16 06:00:18 EDT
(In reply to Niraj Modi from comment #2)
> IMO, this can very well be an issue with CSS coloring.
> Also double check if this can be fixed by tweaking high-contrast.css file.

I attempted a fix in high-contrast.css and found a potential solution.
Will share a gerrit patch shortly.
Comment 5 Eclipse Genie CLA 2022-03-16 06:02:00 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/191947
Comment 6 Niraj Modi CLA 2022-03-16 06:12:45 EDT
Created attachment 288223 [details]
With patch Win10_HighContrast_ModelSpy_Application_default_tab

(In reply to Eclipse Genie from comment #5)
> New Gerrit change created:
> https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/191947

With the fix, sharing the screen-shot of Model Spy Form tab dialog under high contrast theme.
Comment 7 Vikas Chandra CLA 2022-03-16 06:42:52 EDT
(In reply to Niraj Modi from comment #6)
> Created attachment 288223 [details]
> With patch Win10_HighContrast_ModelSpy_Application_default_tab
> 
> (In reply to Eclipse Genie from comment #5)
> > New Gerrit change created:
> > https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/191947
> 
> With the fix, sharing the screen-shot of Model Spy Form tab dialog under
> high contrast theme.

Can you share an image without this patch?
Comment 8 Niraj Modi CLA 2022-03-16 06:59:20 EDT
Created attachment 288224 [details]
Without patch Win10_HighContrast_ModelSpy_Application_default_tab

Without the fix.
Comment 10 Eclipse Genie CLA 2022-03-16 07:03:28 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/191856
Comment 11 Niraj Modi CLA 2022-03-16 07:08:38 EDT
(In reply to Eclipse Genie from comment #10)
> New Gerrit change created:
> https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/191856

Above is back-port gerrit patch  for 'R4_23_maintenance' branch.
Comment 12 Niraj Modi CLA 2022-03-17 01:51:35 EDT
(In reply to Eclipse Genie from comment #9)
> Gerrit change
> https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/191947 was merged
> to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/
> ?id=363418b210cb53bee06e5b204db9260a392df720

Above fix can be verified in below and onward Eclipse 4.24 IBuild:
https://download.eclipse.org/eclipse/downloads/drops4/I20220316-1800/
Comment 13 Masayuki Fuse CLA 2022-03-17 02:31:05 EDT
Created attachment 288228 [details]
Windows11 Desert theme

Windows11 provides 5 high contrast themes. In I20220318-1800, I've verified that this issue was fixed on Aquatic, Dusk, Night sky and pink night sky theme which have black background.

However Desert theme which has white background isn't fixed.
Comment 14 Niraj Modi CLA 2022-03-17 04:26:20 EDT
(In reply to Masayuki Fuse from comment #13)
> Created attachment 288228 [details]
> Windows11 Desert theme
> 
> Windows11 provides 5 high contrast themes. In I20220318-1800, I've verified
> that this issue was fixed on Aquatic, Dusk, Night sky and pink night sky
> theme which have black background.
> 
> However Desert theme which has white background isn't fixed.

Thanks Masayuki for verifying this patch on all high-contrast themes.
Since high-contrast(Black) being major we continue with the pure dark background and will back-port to 4.23+

As per our quick discussion, for the issue high-contrast(White) will raise a separate bug which might be considered for evaluation in future releases. Thanks!
Comment 16 Masayuki Fuse CLA 2022-03-17 04:35:29 EDT
Thanks Niraj,
I understand for the white background potential issue.
I've verified the fixed for black black background.
Comment 17 Niraj Modi CLA 2022-03-17 04:53:54 EDT
(In reply to Masayuki Fuse from comment #16)
> Thanks Niraj,
> I understand for the white background potential issue.
> I've verified the fixed for black black background.

Raised bug 579288 to track the corner scenario with high-contrast(White) and it's possible work-around is mentioned at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=579288#c2

Thanks Masayuki for all your help with the verification here.