-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In latest code insiders, pressing alt+up or down no longer reads suggestions for accessibility #28914
Comments
This has been happening for a week or so but I was on vacation for another week and haven't used code until recently much. Short story, I don't know exactly when this came into existance |
@derekriemer Are the suggestions read as expected in the stable build? |
It used to, but It actually seems that now it doesn't
…On Sat, Jun 17, 2017 at 12:32 AM, Ramya Rao ***@***.***> wrote:
@derekriemer <https://github.com/derekriemer> Are the suggestions read as
expected in the stable build?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28914 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFGivWzCBqyLjXXRQp4gSsbRF3PCS6Gfks5sE3L0gaJpZM4N9Dxl>
.
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
|
@alexandrudima Could this be related to the work you did in the May milestone around the suggest widget and accessibility? |
@derekriemer It has been reported that For completeness, here is how
|
Cool. Thanks for letting me know.
…On Mon, Jun 19, 2017 at 12:54 AM, Alexandru Dima ***@***.***> wrote:
@derekriemer <https://github.com/derekriemer> It has been reported that
alt+up and alt+down causes NVDA to leave focus mode -- #4351
<#4351>. We have changed the
default "alternate" keybindings for moving in the suggest widget to
ctrl+up and ctrl+down on Windows, in addition to up and down. We have
updated our documentation to reflect the new keybindings in
https://code.visualstudio.com/docs/editor/accessibility#_screen-readers ,
but we did not note the change in the Release Notes, sorry about that.
For completeness, here is how alt+ keybindings can be mapped again -- if
desirable -- in keybindings.json:
{
"key": "alt+down",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "alt+up",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28914 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFGivfJK4C6SHxSZtBfKmUZHvrZTYMqbks5sFhs3gaJpZM4N9Dxl>
.
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
|
NVDA still reads the line you are on first before reading the text, because
technically the editor has focus. Is it possible to focus the list item or
implement an autocomplete aria technique to squeltch this announcement? I
could work around in in an NVDA addon, but that would require users install
software.
On Mon, Jun 19, 2017 at 11:03 AM, Derek Scott Riemer <
Derek.Riemer@colorado.edu> wrote:
… Cool. Thanks for letting me know.
On Mon, Jun 19, 2017 at 12:54 AM, Alexandru Dima ***@***.***
> wrote:
> @derekriemer <https://github.com/derekriemer> It has been reported that
> alt+up and alt+down causes NVDA to leave focus mode -- #4351
> <#4351>. We have changed the
> default "alternate" keybindings for moving in the suggest widget to
> ctrl+up and ctrl+down on Windows, in addition to up and down. We have
> updated our documentation to reflect the new keybindings in
> https://code.visualstudio.com/docs/editor/accessibility#_screen-readers
> , but we did not note the change in the Release Notes, sorry about that.
>
> For completeness, here is how alt+ keybindings can be mapped again -- if
> desirable -- in keybindings.json:
>
> {
> "key": "alt+down",
> "command": "selectNextSuggestion",
> "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
> },
> {
> "key": "alt+up",
> "command": "selectPrevSuggestion",
> "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
> }
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#28914 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFGivfJK4C6SHxSZtBfKmUZHvrZTYMqbks5sFhs3gaJpZM4N9Dxl>
> .
>
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
|
@derekriemer out-of-the-box suggestions are navigable via The correct semantic solution involves using |
Even with control+up/down it still will do this, because that key is "read
next/previous paragraph"
Is there a certain class the editor is given? if not, could a class or ID
be given to the editor so I can latch onto it with a screen reader script
(I'll release an addon to squeltch the speaking the current line again
announcement for the editor if autocomplete is on). Also, could a class be
added to the edit area such as autoCompleteAvailable until we have the list
with autocomplete?
…On Wed, Jun 28, 2017 at 10:24 AM, Alexandru Dima ***@***.***> wrote:
Closed #28914 <#28914>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28914 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFGivW1LTS3A51sTKtOl6hY00a7H85SLks5sIn4ogaJpZM4N9Dxl>
.
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
|
Also, it's likely chrome will fix that bug farely soon. Thanks for letting
me know that's what is blocking this. Great job!!!!!
On Thu, Jun 29, 2017 at 11:58 AM, Derek Scott Riemer <
Derek.Riemer@colorado.edu> wrote:
… Even with control+up/down it still will do this, because that key is "read
next/previous paragraph"
Is there a certain class the editor is given? if not, could a class or ID
be given to the editor so I can latch onto it with a screen reader script
(I'll release an addon to squeltch the speaking the current line again
announcement for the editor if autocomplete is on). Also, could a class be
added to the edit area such as autoCompleteAvailable until we have the list
with autocomplete?
On Wed, Jun 28, 2017 at 10:24 AM, Alexandru Dima ***@***.***
> wrote:
> Closed #28914 <#28914>.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#28914 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AFGivW1LTS3A51sTKtOl6hY00a7H85SLks5sIn4ogaJpZM4N9Dxl>
> .
>
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
--
Derek Riemer: Improving the world one byte at a time!
- University of Colorado Boulder Department of computer science, 4th
year undergraduate student.
- Accessibility enthusiast.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Skier.
Personal website <http://derekriemer.com>
|
@derekriemer Thank you for letting me know, I didn't realize ctrl+arrows is also handled specially by NVDA. Is there any arrow combination remaining that is not special when in focus mode? What do you mean by a class or an ID? If you mean a css class, then that would be "inputarea", but I can rename to something better if that would help. |
I have an addon for NVDA which I'm working on to nuke control+up/down, because moving by paragraph is silly when in a code editor. this would squelch the spurious announcement. Another way would be to add something like another class to the editor when the autocomplete appears (Since we don't use a list there is no focus change). Something like <textarea class="inputarea">... when autocomplete is on <textarea class="inputarea autocompleteon"> This would allow me to simply return early from the NVDA caret move routine if I detect autocomplete. |
@derekriemer We can definitely look into something like that. I wasn't aware that the class name list is something that NVDA has access to. Are there other DOM attributes that make their way to NVDA? We could add more semantics via custom attributes. e.g.
As a different completion gets selected, we could update the Another example would be to transmit when the cursor is entering / leaving a squiggle. e.g.
We could potentially use this one-way communication mechanism to express more specific things (at a semantic level) about the code editor. |
These are things which are normally not used in conventional scripting, and NVDA only has access to because of the fact that iaccessible2 gives us access to them. I think we can support class, id, and tag name, but I don't know about data-*. Also, note that this mechanism requires me to script NVDA to recognize things, so it is more of a crude way to get at this info. |
yeah, I can't access data-blah |
Some more things I've noticed:
|
@isidorn Given the new aria usage, do you think this issue is still relevant? |
@alexdima good point, this should be fixed now via #87880 Closing optimistically |
-Date 2017-06-16T05:13:31.107Z
Steps to Reproduce:
Expected: NVDA says the next or previous choice as documented:
Actual: nothing.
The text was updated successfully, but these errors were encountered: