Bug 569896

Summary: Accessibility: Focus indication for the Read-only 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    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Read-only Input Field with border none

Description Magdalena Petrova CLA 2020-12-23 07:09:58 EST
Created attachment 285103 [details]
Read-only Input Field with border

In standard theme focus indication for the read-only Input Fields with border does not satisfy minimum contrast ratio 4.5:1. See attached screenshot: “Read_only_InputField.jpg”.

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


Text sourceSystemText = new Text(systemGroup, SWT.BORDER);
sourceSystemText.setEditable(false);

Ideally, the focus for input field, should satisfy minimum color contrast ratio of 4.5:1