Bug 67295 - [browser] org.eclipse.swt.browser.Browser does not support High Contrast mode
Summary: [browser] org.eclipse.swt.browser.Browser does not support High Contrast mode
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christophe Cornu CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2004-06-15 12:43 EDT by Daniel Kogan CLA
Modified: 2004-11-04 15:21 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kogan CLA 2004-06-15 12:43:18 EDT
org.eclipse.swt.browser.Browser widget does not support High Contrast Mode. The 
HTML text rendered is invisible.
Comment 1 Christophe Cornu CLA 2004-08-27 10:50:05 EDT
Daniel - can you specify which Eclipse use case you find the problem for? Was 
it the Welcome page? Please give us a list.

The Browser widget should have the same behaviour as Internet Explorer. Maybe 
the HTML/CSS content needs to be made accessible.
Comment 2 Daniel Kogan CLA 2004-08-27 11:07:50 EDT
I did not use Eclipse use case. I just outputted very basic HTML in the Browser 
and switched to contrast mode: the text was invisible. Also the code editor was 
showing similar bahaviour - the code was not visible either.
Comment 3 Christophe Cornu CLA 2004-08-27 11:32:31 EDT
Does it render differently than from a regular Internet Explorer? Please 
attach the HTML to the PR.

I've tried the BrowserExample plug-in on a few URLs (www.eclipse.org, 
www.cnn.com). The content appeared in a similar manner on Internet Explorer. I 
tried on Windows XP, with the following setting in the Control Panel: 
Accessibility > Display > Use High Contrast.

Microsoft has an article 303154 "Text may be unreadable in Internet Explorer 
if High Contrast Mode Is Enabled".
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q303154
In particular: "This problem can occur because under certain conditions, 
Internet Explorer does not change explicitly-defined font colors. If the 
link=#000000 value is in the BODY tag of an HTML document, all links in the 
document appear black, regardless of color scheme."
Comment 4 Christophe Cornu CLA 2004-10-01 11:45:10 EDT
The problem is not related to the Browser widget itself but rather to the HTML 
content. The same problem happens if the HTML content is shown in Internet 
Explorer.

Tod - I'm not sure how to proceed with this. Do we have guidelines on how HTML 
is formatted in Eclipse? Different teams generate HTML content so it is not 
easy to just forward that PR to some other team. Assigning it to you for now 
as you wear the UI Accessibility hat.
Comment 5 Tod Creasey CLA 2004-10-01 12:31:56 EDT
There are IBM web accessilbity guidelines - we follow them. See http://www-
306.ibm.com/able/guidelines/web/accessweb.html

Moving back to SWT to see if there is anything they need to do
Comment 6 Christophe Cornu CLA 2004-11-04 15:01:42 EST
These IBM guidelines don't mention the HTML content should be tested for the 
Internet Explorer High Contrast mode. Tod, maybe they should?

Daniel - I am suggesting you open separate PR's for Eclipse features that you 
notice don't behave well under High Contrast mode. 

Marking PR as WONTFIX since the Browser widget behaves like Internet Explorer 
and I don't think we can do anything good at this level. HTML content must 
avoid setting colors that cause bad display under high contrast mode.
Comment 7 Tod Creasey CLA 2004-11-04 15:21:27 EST
There are two sets of guidelines - the web and the application guidelines.

Here are the web guidelines:
http://www-3.ibm.com/able/guidelines/web/accessweb.html

They do not mention high contrast in them.

However http://www-3.ibm.com/able/guidelines/software/accesssoftware.html

does and so there is a case for us supporting it. Only being able to support 
to the level the OS provides is a pretty common constraint however.