[Windows Terminal]: Screen reader is just announcing a single character information while navigating using ctrl + left/right arrow keys in mark mode. #22245

Closed
opened 2026-01-31 08:07:35 +00:00 by claunia · 5 comments
Owner

Originally created by @Saurabh220304 on GitHub (Sep 10, 2024).

Windows Terminal version

1.22.2362.0

Windows build number

27695.1000

Other Software

Test Environment:
OS: Windows 11 Version Dev (OS Build 27695.1000)
App: Windows Terminal Preview
Screen Reader: Narrator

Steps to reproduce

Repro steps :
1.Open Windows Terminal.
2.Navigate to the editor.
3.Turn on Narrator by pressing 'Ctrl + Windows + Enter' keys.
4.Now turn on mark mode by pressing 'Ctrl + Shift + M' keys.
5. Now navigate among words using 'Ctrl + Left/Right' keys.
6.Observe the screen reader narration here.

Observation using NVDA and JAWS screen reader:
Same issue repro with NVDA and JAWS screen reader also.

User Experience
Users who rely on screen reader may not get the info properly while navigating in mark mode.

WCAG Reference Link:
https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships

Attachment :
Screen reader is not announcing full word information while navigating via ctrl + left_right arrow keys.zip

Expected Behavior

Screen reader should narrate complete word information while navigating using ctrl + left/right arrow keys in mark mode.

Actual Behavior

Screen reader is just announcing a single character information while navigating using ctrl + left/right arrow keys in mark mode.
For example:
For word "Microsoft", screen reader is just announcing as 'M selected' when we navigate using 'Ctrl + Left' arrow key and announces as 't selected' using 'Ctrl + Right' arrow.

Originally created by @Saurabh220304 on GitHub (Sep 10, 2024). ### Windows Terminal version 1.22.2362.0 ### Windows build number 27695.1000 ### Other Software Test Environment: OS: Windows 11 Version Dev (OS Build 27695.1000) App: Windows Terminal Preview Screen Reader: Narrator ### Steps to reproduce **Repro steps :** 1.Open Windows Terminal. 2.Navigate to the editor. 3.Turn on Narrator by pressing 'Ctrl + Windows + Enter' keys. 4.Now turn on mark mode by pressing 'Ctrl + Shift + M' keys. 5. Now navigate among words using 'Ctrl + Left/Right' keys. 6.Observe the screen reader narration here. **Observation using NVDA and JAWS screen reader:** Same issue repro with NVDA and JAWS screen reader also. **User Experience** Users who rely on screen reader may not get the info properly while navigating in mark mode. **WCAG Reference Link:** https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships **Attachment :** [Screen reader is not announcing full word information while navigating via ctrl + left_right arrow keys.zip](https://github.com/user-attachments/files/16943981/Screen.reader.is.not.announcing.full.word.information.while.navigating.via.ctrl.%2B.left_right.arrow.keys.zip) ### Expected Behavior Screen reader should narrate complete word information while navigating using ctrl + left/right arrow keys in mark mode. ### Actual Behavior Screen reader is just announcing a single character information while navigating using ctrl + left/right arrow keys in mark mode. For example: For word "Microsoft", screen reader is just announcing as 'M selected' when we navigate using 'Ctrl + Left' arrow key and announces as 't selected' using 'Ctrl + Right' arrow.
Author
Owner

@carlos-zamora commented on GitHub (Sep 10, 2024):

This is by design. Pressing Ctrl+Left/Right moves you to the previous/next word respectively. You're just moving the cursor around, which is why the resulting announcement by the screen reader is what is selected (in the case above, "M"). If you want to expand the selection instead of just moving the cursor, you'll need to hold the Shift key.

Closing as by design.

@carlos-zamora commented on GitHub (Sep 10, 2024): This is by design. Pressing Ctrl+Left/Right moves you to the previous/next word respectively. You're just moving the cursor around, which is why the resulting announcement by the screen reader is what is selected (in the case above, "M"). If you want to expand the selection instead of just moving the cursor, you'll need to hold the Shift key. Closing as by design.
Author
Owner

@lhecker commented on GitHub (Sep 10, 2024):

But should we perhaps narrate an entire word when the cursor position moves by more than 1 cell? That's what seems to happen when using Word at least. I'm not entirely sure how to implement this though.

@lhecker commented on GitHub (Sep 10, 2024): But should we perhaps narrate an entire word when the cursor position moves by more than 1 cell? That's what seems to happen when using Word at least. I'm not entirely sure how to implement this though.
Author
Owner

@Saurabh220304 commented on GitHub (Sep 11, 2024):

@carlos-zamora,
This issue is logged from the feedback of Adam Samec. As mentioned in the mail we should be able to navigate among the words using 'Ctrl + Left/Right' arrow keys.
Screen reader is just narrating as selected with single character information instead of narrating the complete word information.

@Saurabh220304 commented on GitHub (Sep 11, 2024): @carlos-zamora, This issue is logged from the feedback of Adam Samec. As mentioned in the mail we should be able to navigate among the words using 'Ctrl + Left/Right' arrow keys. Screen reader is just narrating as selected with single character information instead of narrating the complete word information.
Author
Owner

@carlos-zamora commented on GitHub (Sep 11, 2024):

I see. Ok, reopening.

Related issues:

I suspect that fixing both of those issues may fix this one inadvertently. Totally based on a hunch, but I wonder if screen readers behave differently when the cursor moves as a degenerate range (like, maybe they automatically read out the current word since there's no selected text).

Tried looking at Word under accevent but all I got was TextSelectionChanged events, which means that the screen reader has special logic to handle that (pretty standard) then calls the UIA APIs off of the text provider.

@carlos-zamora commented on GitHub (Sep 11, 2024): I see. Ok, reopening. Related issues: - #13447 - #15787 I suspect that fixing both of those issues may fix this one inadvertently. Totally based on a hunch, but I wonder if screen readers behave differently when the cursor moves as a degenerate range (like, maybe they automatically read out the current word since there's no selected text). Tried looking at Word under accevent but all I got was TextSelectionChanged events, which means that the screen reader has special logic to handle that (pretty standard) then calls the UIA APIs off of the text provider.
Author
Owner

@Priyanka-Chauhan123 commented on GitHub (Jan 22, 2025):

@carlos-zamora This bug is impacting Windows Terminal product compliance and making it D. Any expected/tentative ETA by when this issue can be fixed?

@Priyanka-Chauhan123 commented on GitHub (Jan 22, 2025): @carlos-zamora This bug is impacting Windows Terminal product compliance and making it D. Any expected/tentative ETA by when this issue can be fixed?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22245