-
Notifications
You must be signed in to change notification settings - Fork 37.9k
Description
I would like to propose certain changes to screen reader mode behavior.
Right now the suggestion alert is very verbose to the point of
interrupting the flow when coding. The message posted to the alert div contains:
(Current item), suggestion, has details, item label
I know that those messages differ based on the fact if there are item details or not. The message read aloud by the screen reader can contain a summary or more details besides the function / object / property name etc.
Unfortunately, the screen reader is reading the "suggestion, has details" suffix and so on which is too detailed, and I guess very annoying when you get to hear it after every refresh of a suggestion list.
The desired behavior should be announcing just the current item having focus - as the basic behavior. The reason is that it allows for quick listening and completing code.
Another usability comes from the fact that Visual Studio Code is alerting the following string:
Accepting 'current item' did insert ... and so on. This is a usability bug, for I get to hear it after hitting enter on every desireable selection... Once the item is inserted it is in the code window content and can / should be easily read / navigable with regular screen reader review functions - just like simple text.
I've spent some time with the suggestion widget code, and understand the design, but there are parts, which are not so easy to deal with such as the alert after accepting code suggestions.
What would be the best way to provide fixes or configuration settings what would control the verbosity level?