Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315679

Summary: [NLS] Accessibility: Labels of lists are not read by JAWS in several wizards
Product: [WebTools] WTP Java EE Tools Reporter: Hari Shankar <hshanka>
Component: jst.j2eeAssignee: Hari Shankar <hshanka>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, david_williams, konstantin
Version: 3.2Flags: david_williams: pmc_approved+
ccc: pmc_approved? (raghunathan.srinivasan)
ccc: pmc_approved? (naci.dai)
deboer: pmc_approved+
ccc: pmc_approved? (neil.hauge)
ccc: pmc_approved? (kaloyan)
cbridgha: review+
ccc: review+
Target Milestone: 3.2.1   
Hardware: PC   
OS: Windows XP   
Whiteboard: PMC_approved
Bug Depends on:    
Bug Blocks: 317505    
Attachments:
Description Flags
patch ccc: iplog+

Description Hari Shankar CLA 2010-06-03 17:07:09 EDT
Build Identifier: 321

1.- Open the wizards for EJB, APP client, Connector or dynamic web projects and go to the java facets page. Using the keyboard, and with JAWS started, tab to the list of source folders. The label is not read by JAWS
2.- Open the new EAR project wizard, and go to the Enterprise application page. Using the keyboard, and with JAWS started, tab to the list of modules. The label is not read by JAWS

Reproducible: Always
Comment 1 Hari Shankar CLA 2010-06-03 17:09:26 EDT
Created attachment 171031 [details]
patch

For some reason, the Table and Tree controls seem to need explicit setting of the accessibility 'name' value so that accessibility tools can recognize them. This patch uses the getAccessibility() api on these controls to sent the appropriate value. 

Verified that this is readable using Inspect (which prints the value on screen instead of reading it out).
Comment 2 Chuck Bridgham CLA 2010-06-04 16:14:01 EDT
approve
Comment 3 Carl Anderson CLA 2010-06-21 11:31:43 EDT
The current wizard pages are not readable by JAWS, which is a major accessibility problem.  We need to add some strings to be read in these cases.

There is no workaround for visually impaired WTP users.

Hari has tested that JAWS now reads these fields.

Chuck Bridgham and myself have reviewed this fix.  Hari is adding a couple of AccessibleAdapters to fields that otherwise are not read.  He also adds translatable strings for these adapters to the properties files.

The only risk that might be associated with this fix would be contained to the project creation wizards.  The changes should not effect non-accessibility usage.
Comment 4 Konstantin Komissarchik CLA 2010-06-21 11:44:50 EDT
Thanks for the patch, but please open a separate bug for changes in JavaFacetInstallPage.
Comment 5 Konstantin Komissarchik CLA 2010-06-21 15:43:56 EDT
Thanks for opening a separate bug. 

Hari, what is "Inspect" that you are referring to? I would like to have some ways to verify these accessibility issues, but the one time I tried to install JAWS on my system, it corrupted something in my drivers stack leading to blue screens and forcing a full OS reinstall.
Comment 6 Carl Anderson CLA 2010-06-21 15:54:13 EDT
(In reply to comment #5)

I believe Hari was referring to Inspect32.exe, which is part of the Microsoft Active Accessibility 2.0 SDK Tools.  (It is free to download).
Comment 7 Carl Anderson CLA 2010-06-23 13:07:27 EDT
I committed the j2ee portion of this patch to HEAD for WTP 3.2.1.  The FacetedProjectFramework portion of this patch is attached to bug 317505 , as per Konstantin's request.
Comment 8 Carl Anderson CLA 2010-07-07 09:02:34 EDT
Konstantin has committed a change for bug 317505, so I am resolving this bug.