Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 181943 Details for
Bug 271383
[misc] Foreground and background color selectors indistinguishable by screen reader
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
271383.patch (text/plain), 10.54 KB, created by
Rakesh
on 2010-10-28 10:09:54 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Rakesh
Created:
2010-10-28 10:09:54 EDT
Size:
10.54 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.jsp.ui >Index: src/org/eclipse/jst/jsp/ui/internal/preferences/ui/JSPSyntaxColoringPage.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/preferences/ui/JSPSyntaxColoringPage.java,v >retrieving revision 1.5 >diff -u -r1.5 JSPSyntaxColoringPage.java >--- src/org/eclipse/jst/jsp/ui/internal/preferences/ui/JSPSyntaxColoringPage.java 7 Jan 2009 21:46:51 -0000 1.5 >+++ src/org/eclipse/jst/jsp/ui/internal/preferences/ui/JSPSyntaxColoringPage.java 28 Oct 2010 14:08:31 -0000 >@@ -277,6 +277,10 @@ > GridData gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fForegroundColor.setLayoutData(gd); > fForegroundColorEditor.setEnabled(false); >+ fForegroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Foreground_Color_Selector_Button;} >+ }); > > fBackgroundLabel = createLabel(editControls, SSEUIMessages.Background_UI_); > ((GridData) fBackgroundLabel.getLayoutData()).verticalAlignment = SWT.CENTER; >@@ -287,6 +291,10 @@ > gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fBackgroundColor.setLayoutData(gd); > fBackgroundColorEditor.setEnabled(false); >+ fBackgroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Background_Color_Selector_Button;} >+ }); > > fBold = createCheckbox(editControls, JSPUIMessages.SyntaxColoringPage_3); > fBold.setEnabled(false); >#P org.eclipse.wst.css.ui >Index: src/org/eclipse/wst/css/ui/internal/preferences/ui/CSSSyntaxColoringPage.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/preferences/ui/CSSSyntaxColoringPage.java,v >retrieving revision 1.6 >diff -u -r1.6 CSSSyntaxColoringPage.java >--- src/org/eclipse/wst/css/ui/internal/preferences/ui/CSSSyntaxColoringPage.java 17 Jul 2009 15:17:11 -0000 1.6 >+++ src/org/eclipse/wst/css/ui/internal/preferences/ui/CSSSyntaxColoringPage.java 28 Oct 2010 14:08:34 -0000 >@@ -271,6 +271,10 @@ > GridData gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fForegroundColor.setLayoutData(gd); > fForegroundColorEditor.setEnabled(false); >+ fForegroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Foreground_Color_Selector_Button;} >+ }); > > fBackgroundLabel = createLabel(editControls, SSEUIMessages.Background_UI_); > ((GridData) fBackgroundLabel.getLayoutData()).verticalAlignment = SWT.CENTER; >@@ -281,6 +285,10 @@ > gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fBackgroundColor.setLayoutData(gd); > fBackgroundColorEditor.setEnabled(false); >+ fBackgroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Background_Color_Selector_Button;} >+ }); > > fBold = createCheckbox(editControls, CSSUIMessages.SyntaxColoringPage_3); > fBold.setEnabled(false); >#P org.eclipse.wst.dtd.ui >Index: src/org/eclipse/wst/dtd/ui/internal/preferences/DTDSyntaxColoringPage.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.dtd.ui/src/org/eclipse/wst/dtd/ui/internal/preferences/DTDSyntaxColoringPage.java,v >retrieving revision 1.4 >diff -u -r1.4 DTDSyntaxColoringPage.java >--- src/org/eclipse/wst/dtd/ui/internal/preferences/DTDSyntaxColoringPage.java 13 Sep 2007 02:01:02 -0000 1.4 >+++ src/org/eclipse/wst/dtd/ui/internal/preferences/DTDSyntaxColoringPage.java 28 Oct 2010 14:08:38 -0000 >@@ -271,6 +271,11 @@ > GridData gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fForegroundColor.setLayoutData(gd); > fForegroundColorEditor.setEnabled(false); >+ fForegroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Foreground_Color_Selector_Button;} >+ }); >+ > > fBackgroundLabel = createLabel(editControls, SSEUIMessages.Background_UI_); > ((GridData) fBackgroundLabel.getLayoutData()).verticalAlignment = SWT.CENTER; >@@ -281,6 +286,11 @@ > gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fBackgroundColor.setLayoutData(gd); > fBackgroundColorEditor.setEnabled(false); >+ fBackgroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Background_Color_Selector_Button;} >+ }); >+ > > fBold = createCheckbox(editControls, DTDUIMessages.SyntaxColoringPage_3); > fBold.setEnabled(false); >#P org.eclipse.wst.html.ui >Index: src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSyntaxColoringPage.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSyntaxColoringPage.java,v >retrieving revision 1.6 >diff -u -r1.6 HTMLSyntaxColoringPage.java >--- src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSyntaxColoringPage.java 7 Jan 2009 21:47:00 -0000 1.6 >+++ src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSyntaxColoringPage.java 28 Oct 2010 14:08:42 -0000 >@@ -272,6 +272,10 @@ > GridData gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fForegroundColor.setLayoutData(gd); > fForegroundColorEditor.setEnabled(false); >+ fForegroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Foreground_Color_Selector_Button;} >+ }); > > fBackgroundLabel = createLabel(editControls, SSEUIMessages.Background_UI_); > ((GridData) fBackgroundLabel.getLayoutData()).verticalAlignment = SWT.CENTER; >@@ -282,6 +286,11 @@ > gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fBackgroundColor.setLayoutData(gd); > fBackgroundColorEditor.setEnabled(false); >+ fBackgroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Background_Color_Selector_Button;} >+ }); >+ > > fBold = createCheckbox(editControls, HTMLUIMessages.SyntaxColoringPage_3); > fBold.setEnabled(false); >#P org.eclipse.wst.sse.ui >Index: src/org/eclipse/wst/sse/ui/internal/SSEUIMessages.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/SSEUIMessages.java,v >retrieving revision 1.27 >diff -u -r1.27 SSEUIMessages.java >--- src/org/eclipse/wst/sse/ui/internal/SSEUIMessages.java 19 Apr 2010 17:17:04 -0000 1.27 >+++ src/org/eclipse/wst/sse/ui/internal/SSEUIMessages.java 28 Oct 2010 14:08:46 -0000 >@@ -132,7 +132,9 @@ > public static String _4concat; > public static String Content_type__UI_; > public static String Foreground_UI_; >+ public static String Foreground_Color_Selector_Button; > public static String Background_UI_; >+ public static String Background_Color_Selector_Button; > public static String Bold_UI_; > public static String Italics_UI; > public static String Restore_Default_UI_; >Index: src/org/eclipse/wst/sse/ui/internal/SSEUIPluginResources.properties >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/SSEUIPluginResources.properties,v >retrieving revision 1.37 >diff -u -r1.37 SSEUIPluginResources.properties >--- src/org/eclipse/wst/sse/ui/internal/SSEUIPluginResources.properties 25 Aug 2010 18:28:46 -0000 1.37 >+++ src/org/eclipse/wst/sse/ui/internal/SSEUIPluginResources.properties 28 Oct 2010 14:08:46 -0000 >@@ -105,7 +105,9 @@ > ## The following strings are for "XML->XML Source->XML Style" Preferences, "Web Tools->Source->HTML Style" Preferences, and "Web Tools->Source->JavaScript Style" Preferences > Content_type__UI_=Co&ntent type: > Foreground_UI_=&Foreground: >+Foreground_Color_Selector_Button=Foreground Color Selector > Background_UI_=Backgr&ound: >+Background_Color_Selector_Button=Background Color Selector > Bold_UI_=B&old > Italics_UI=Italics > Restore_Default_UI_=&Restore Default >#P org.eclipse.wst.xml.ui >Index: src/org/eclipse/wst/xml/ui/internal/preferences/XMLSyntaxColoringPage.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.xml.ui/src/org/eclipse/wst/xml/ui/internal/preferences/XMLSyntaxColoringPage.java,v >retrieving revision 1.5 >diff -u -r1.5 XMLSyntaxColoringPage.java >--- src/org/eclipse/wst/xml/ui/internal/preferences/XMLSyntaxColoringPage.java 7 Jan 2009 21:46:54 -0000 1.5 >+++ src/org/eclipse/wst/xml/ui/internal/preferences/XMLSyntaxColoringPage.java 28 Oct 2010 14:08:50 -0000 >@@ -271,6 +271,10 @@ > GridData gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fForegroundColor.setLayoutData(gd); > fForegroundColorEditor.setEnabled(false); >+ fForegroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Foreground_Color_Selector_Button;} >+ }); > > fBackgroundLabel = createLabel(editControls, SSEUIMessages.Background_UI_); > ((GridData) fBackgroundLabel.getLayoutData()).verticalAlignment = SWT.CENTER; >@@ -281,6 +285,10 @@ > gd = new GridData(SWT.BEGINNING, SWT.FILL, false, false); > fBackgroundColor.setLayoutData(gd); > fBackgroundColorEditor.setEnabled(false); >+ fBackgroundColorEditor.getButton().getAccessible().addAccessibleListener(new AccessibleAdapter() { >+ public void getName (final AccessibleEvent e) { >+ e.result = SSEUIMessages.Background_Color_Selector_Button;} >+ }); > > fBold = createCheckbox(editControls, XMLUIMessages.SyntaxColoringPage_3); > fBold.setEnabled(false);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
nsand.dev
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 271383
: 181943