Bug 488139 - CodeEdit: Automatic tooltip on next annotation needs to be accessible
Summary: CodeEdit: Automatic tooltip on next annotation needs to be accessible
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 14.0   Edit
Assignee: Eric Moffatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
: 478325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-19 16:49 EST by Carolyn MacLeod CLA
Modified: 2017-03-17 09:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2016-02-19 16:49:49 EST
The fix for Bug 480348 - "nextAnnotation no longer show the annotation's tooltip" has created an interesting problem for accessibility. Before this fix, I simply recommended that screen reader users type ctrl+. or ctrl+, and then type F2 to open and focus the annotation's tooltip, which the screen reader then speaks. Type Esc to dismiss the tooltip. This is a bit of a workaround, but not entirely out of line with expectations, because F2 is used any time a keyboard user wants a tooltip.

Now, with the tooltip coming up automatically but not getting focus, the screen reader does not speak the tooltip text. In addition, F2 does not do anything because a tooltip is already up.

A screen reader user would have to do a bit of a non-intuitive hack to hear the tooltip spoken, as follows:
- close the automatic tooltip by typing right arrow, then left arrow
  (Esc does not close the automatic tooltip because it does not have focus)
  (typing right-left ensures that the caret stays on the same annotation)
- now type F2 to bring up the annotation's tooltip with focus so that it is spoken
- now typing Esc will close the tooltip

As a sighted person, I actually appreciate the tooltip coming up automatically when I type ctrl+.  I also appreciate that focus is still in the text, because I can keep typing without dismissing the tooltip first. So I don't want to automatically give focus to the tooltip.

However, I think we need to fix the accesibility problem.
I think the easiest fix is to focus the automatic tooltip if F2 is pressed.
Other suggestions welcome.
Comment 1 Carolyn MacLeod CLA 2016-04-19 09:51:52 EDT
*** Bug 478325 has been marked as a duplicate of this bug. ***
Comment 2 Michael Rennie CLA 2017-01-10 15:37:06 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Comment 3 Carolyn MacLeod CLA 2017-03-17 09:33:51 EDT
Reopening...
Comment 4 Carolyn MacLeod CLA 2017-03-17 09:34:59 EDT
This was fixed by Eric in 14.0.