Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336125 - ACC.RELATION_DESCRIBED_BY does not work for Text
Summary: ACC.RELATION_DESCRIBED_BY does not work for Text
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.3 M6   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 248410
  Show dependency tree
 
Reported: 2011-02-02 13:30 EST by Oleg Besedin CLA
Modified: 2013-02-26 15:31 EST (History)
1 user (show)

See Also:


Attachments
Broken snippet (929 bytes, patch)
2011-02-02 13:30 EST, Oleg Besedin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2011-02-02 13:30:11 EST
Created attachment 188178 [details]
Broken snippet

The Snippet340 shows a Label widget that can be used to supply screen readers with the accessible information.

The same principle does not work if Text widget is used in place of the Label. 

The attached patch changes Label widget to read-only Text. The patched snippet does not work with Jaws 11.

The Wizard dialogs in Eclipse SDK use Text widgets to display error messages. As a result this issue blocks bug 248410.
Comment 1 Carolyn MacLeod CLA 2011-03-22 12:30:48 EDT
Why do Wizard dialogs use Text widgets to display error messages?
Is it so that the error message can take focus, so that a screen reader user can hear it spoken? If so, then switching to Label would make them more accessible because they could be spoken right when the message changes.
(If it is important that the error messages can get selected, in order to be copy/pasted, for example, then I guess they need to stay as Text controls).
Comment 2 Oleg Besedin CLA 2011-03-22 13:39:46 EDT
(In reply to comment #1)
> Why do Wizard dialogs use Text widgets to display error messages?
> Is it so that the error message can take focus, so that a screen reader user
> can hear it spoken?

Yes, and also so it is possible to copy the text.

I'd prefer to keep it as Text as people are used to be able to tab to it.
Comment 3 Carolyn MacLeod CLA 2013-02-26 15:31:57 EST
Fixed snippet in master:
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=55bec4cf2651738824fee3f0adede6b94a473ed3

Tested with a relatively recent release of JAWS (14) and NVDA (2012.3.1).