Community
Participate
Working Groups
Build ID: 3.3.1 Steps To Reproduce: The open type dialog (JavaUI.createTypeDialog) has an input text field for a user to enter the desired class, and a list of matching results. Neither of these have accessible labels according to Microsoft Inspect Objects (Inspect shows the Name of both of these fields as "none"). More information:
We're using the FilteredItemsSelectionDialog from platform.ui.
I had a look into this. The problem is that the layout of the dialog doesn't allow for accessible input fields: [Enter type name...] [menu] [Text input] [Matching items:] [Progress label] [List box] As far as I know, the accessible name of an input field is derived by taking the nearest other control that is located to the left of the control. If you have a look at the layout depicted above, you can see that the nearest label for the text input is the dropdown menu, whereas for the listbox, it is the progress label. I fear that in order to resolve this bug, we need to change the layout of the dialog quite a bit: The menu and the progress label would need to be placed at a different location. Not sure if that's intended.
You have to add AccessibleAdapters to the input field and the table, see e.g. org.eclipse.jdt.internal.ui.dialogs.TypeSelectionComponent.createContent(String, int).
Created attachment 84303 [details] Patch for bug 208602 Patch adds accessible names for listbox and text entrz field.
Created attachment 84304 [details] mylyn/context/zip
Patch with minor changes released for build >20071204
Reopening - the fix is overiding the text in the list entry
Can you please add a target Milestone when a fix will be provided ?
Created attachment 119610 [details] Fix2 > Reopening - the fix is overiding the text in the list entry Patch fixes this problem.
Fixed in HEAD. Available in builds > N20090414-2000.
Verified in I20090429-0100.