Community
Participate
Working Groups
The about box text is seen in MS Inspect Objects only as the MSAA Value, not the MSAA Name, so JAWS says only "Edit. Type in text." The Name field should contain the text, or is there a JAWS trick to read the Value?
Created attachment 19083 [details] MS Inspect Objects on the About box
We're using a StyledText here with SWT.MULTI | SWT.READ_ONLY. This should just work.
Code is in AboutDialog.createDialogArea.
CAR is this a dup of the dialog problem?
Carolyn, what is the status/target of this bug?
Actually, Texts (READ_ONLY or not) only show their text content in the accessible "value" property. Here's a couple of definitions from the MSAA spec: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/wincontrols.asp - The Name property is the text from a static text control that labels the edit control. For example, on a standard File Open dialog box such as in WordPad, the Name property for the edit control is "File name:". - The Value property is a single string that contains the text in the edit control. I don't think I should override the specified behavior, because that would probably break folks who are counting on having the label of a READ-ONLY text spoken as the name. I think the text in the about dialog is a special case that the application - in this case, AboutDialog.createDialogArea, needs to override by using SWT's accessibility API. The code would be something like: text.getAccessible().addAccessibleListener(new AccessibleAdapter() { public void getName(AccessibleEvent e) { e.result = getItem().getText(); } });