Bug 574796 - Focus indication for the Input Fields with border has no sufficient contrast ratio of 4.5:1
Summary: Focus indication for the Input Fields with border has no sufficient contrast ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 05:08 EDT by Magdalena Petrova CLA
Modified: 2022-03-17 10:04 EDT (History)
1 user (show)

See Also:


Attachments
Input Filed No sufficient contrast (90.67 KB, image/jpeg)
2021-07-12 05:08 EDT, Magdalena Petrova CLA
no flags Details
Text:: Doesn’t suffice the Color contrast ratio of 4.5:1 (254.86 KB, image/jpeg)
2022-03-17 10:04 EDT, Ralitsa Andreeva CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magdalena Petrova CLA 2021-07-12 05:08:15 EDT
Created attachment 286767 [details]
Input Filed No sufficient contrast

In standard theme focus indication for the Input Fields with border does not satisfy minimum contrast ratio 4.5:1. See attached screenshot: “InputField_No sufficient contrast.JPG”.

The input field is of type org.eclipse.swt.widgets.Text with border and it is set to read-only.

Ideally, the focus for input field, should satisfy minimum color contrast ratio of 4.5:1
Comment 1 Magdalena Petrova CLA 2021-07-12 05:22:21 EDT
Just a small correction, the input filed is editable.


In standard theme focus indication for the Input Fields with border does not satisfy minimum contrast ratio 4.5:1. See attached screenshot: “InputField_No sufficient contrast.JPG”.

The input field is of type org.eclipse.swt.widgets.Text with border.

Ideally, the focus for input field, should satisfy minimum color contrast ratio of 4.5:1
Comment 2 Ralitsa Andreeva CLA 2022-03-17 10:04:14 EDT
Created attachment 288233 [details]
Text:: Doesn’t suffice the Color contrast ratio of 4.5:1

In default theme, the error text message such as ‘Name Contains illegal characters Allowed Aa-Zz 0-9 and ‘-,’&’ and ‘’, doesn’t satisfy the color contrast ratio of 4.5:1.

In the default theme, if texts and images of texts, smaller than 18 pt (or 14 pt bold) as well as icons and symbols similar to small text must be displayed with a contrast ratio of at least 4.5:1