Skip to content
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

Arrow down in a wrapped line gets read in its entirety by NVDA #27766

Closed
alexdima opened this issue May 31, 2017 · 3 comments
Closed

Arrow down in a wrapped line gets read in its entirety by NVDA #27766

alexdima opened this issue May 31, 2017 · 3 comments
Assignees
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@alexdima
Copy link
Member

Extracted from @Neurrone 's comment in #26730 (comment)

I've installed the add-on and the global plugin that bumps the wait time up to 200ms.

A possibly related problem: if a long line of text is wrapped across multiple lines, NVDA incorrectly reads the entire line when arrowing through. For example, this section is right at the top of the default settings.json file

// Controls auto save of dirty files. Accepted values:  'off', 'afterDelay', 'onFocusChange' (editor loses focus), 'onWindowChange' (window loses focus). If set to 'afterDelay', you can configure the delay in 'files.autoSaveDelay'.

NVDA reads the entire 3-line block when arrowing through each line.

@alexdima alexdima self-assigned this May 31, 2017
@alexdima alexdima added accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues bug Issue identified by VS Code Team member as probable bug labels May 31, 2017
@alexdima alexdima added this to the May 2017 milestone May 31, 2017
@isidorn isidorn added verified Verification succeeded and removed verified Verification succeeded labels Jun 2, 2017
@isidorn
Copy link
Contributor

isidorn commented Jun 2, 2017

@alexandrudima now when screen reader is detected word wrap is always automatically disabled. I guess that makes sense but just to double check if that is the expected behavior

@isidorn isidorn added the verified Verification succeeded label Jun 2, 2017
@alexdima
Copy link
Member Author

alexdima commented Jun 6, 2017

Yes, the problem is that I have no <textarea> APIs at my disposal to explain to the <textarea> where we introduce wrapping points. I also cannot simply use \n for wrapping points, as the \n will be read out as line feed at wrapping points, which is incorrect. I also cannot guarantee that the <textarea> will wrap natively at the same wrapping points the editor does (even if I carefully try to size it, since we use different wrapping algorithms, etc.).. so my only recourse is to disable wrapping in the editor to get a 1:1 mapping of <textarea> lines and editor lines, such that cursor down goes one line down in the editor and one line down in the <textarea>.

@isidorn
Copy link
Contributor

isidorn commented Jun 6, 2017

@alexandrudima thanks for the explanation. That makes sense to me

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
@microsoft microsoft unlocked this conversation Aug 23, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants