Bug 574796

Summary: Focus indication for the Input Fields with border has no sufficient contrast ratio of 4.5:1
Product: [Eclipse Project] Platform Reporter: Magdalena Petrova <magdalena.dimitrova>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: ralitsa.andreeva
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Input Filed No sufficient contrast
none
Text:: Doesn’t suffice the Color contrast ratio of 4.5:1 none

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