Community
Participate
Working Groups
Build ID: 3.2 Steps To Reproduce: 1.Create an editor part with label and text widgets 2.Assign &E as a mnemonic to the label 3.Press Alt-E, the main menu Edit is activate, instead of focus going to the text widget 4. It used to be that pressing Alt and E sequentially would active main menu, while Alt+E would activate local widgets. This is a violation of accessibility guidelines. More information:
The issue here is that there is a conflict. When there is a conflict we do our best to allow the OS to resolve it (as the accessibility guidelines require). You should not design your editors or views with mnemonics that conflict with the main menu. Most of our customers who need this use 3rd party tools such as Window Eyes so we don't to get in the way. Is the guideline you are concerned about entry 1.2 of http://www-03.ibm.com/able/guidelines/software/accesssoftware.html (conflicting with keyboard accessibility features)? If so are we breaking features such as Sticky Keys? Is this conflict resolved differently in 3.1.2?
As far as I can remember, in prior Eclipse versions, if you hit Alt alone it would take you to the main menu. Then you'd release the Alt key and simple hit E (for edit), or F (for file) and so on. But if you pressed Alt+E together, that would navigate to one of your own controls on editor controls. I believe this is the default behavior on Windows. As for the design of mnemonics, there is not enough letters to have all labels to have unique assignments. Which leaves me with labels with no mnemonics which is another violation. I will let Jeff Nevicosi comment on accessibility guidelines adherence, since he is our accessibility tester and has the best knowledge about it.
Seems as though this issue isn't present in Eclipse 3.4 and later. I just tried it and pressing Alt-(mnemonic key) together would correctly give the label/field focus as expected, instead of pulling up the corresponding main menu item. Pressing Alt, releasing Alt, then pressing another key would correctly bring up the main menu action.
There have been a number of changes in this area in SWT. If this re-occurs please re-open this bug. PW