[Command Prompt/PowerShell]: Screen reader is announcing last line first then announcing whole command when using arrow keys to access previous command. #18669

Open
opened 2026-01-31 06:20:51 +00:00 by claunia · 0 comments
Owner

Originally created by @ghost on GitHub (Oct 13, 2022).

Originally assigned to: @carlos-zamora on GitHub.

Windows Terminal version

1.16.2642.0

Windows build number

10.0.25217.1000

Other Software

OS: Window 11 22H2 OS Build 25179.1000
Screen Reader: Narrator
App: Window Terminal

Steps to reproduce

Repro Steps:
Step 1: Open 'PowerShell' and start Narrator.
Step 2: Use 'cd D:\xperf\latest' commands to set the path.
Step 3: Use some commands link 'xperf -merge and .\xperf -help processing (.\xperf -i)'.
Step 4: Now use up arrow keys to access (Merge) previous command.
Step 4: Observe the screen reader behavior.

User Experience:
People with visual impairment who use Screen reader on terminal app will be impacted here as command is announced to them in wrong order.

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

Attachments:
Repro Video.zip

Expected Behavior

Screen reader should announce only announced changed command text when using arrow keys to access previous command.

Ex: It should announce as '.\xperf-merge C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AKP.02-25-2022.00-27-09.etl, C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AK, P.02-25-2022.00-27-56.etl, C:\Users\v-asimeena\Documents\WPR Files\Test.etl'.

Actual Behavior

Screen reader is announcing last line first then announcing whole command when using arrow keys to access previous command.

Same issue repro with every command which is more than 1 line.

i.e. Screen Reader is announcing as 'P.02-25-2022.00-27-56.etl C:\Users\v-asimeena\Documents\WPR Files\Test.etl, .\xperf-merge C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AKP.02-25-2022.00-27-09.etl, C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AK, P.02-25-2022.00-27-56.etl, C:\Users\v-asimeena\Documents\WPR Files\Test.etl'.

Originally created by @ghost on GitHub (Oct 13, 2022). Originally assigned to: @carlos-zamora on GitHub. ### Windows Terminal version 1.16.2642.0 ### Windows build number 10.0.25217.1000 ### Other Software OS: Window 11 22H2 OS Build 25179.1000 Screen Reader: Narrator App: Window Terminal ### Steps to reproduce **Repro Steps:** Step 1: Open 'PowerShell' and start Narrator. Step 2: Use 'cd D:\xperf\latest' commands to set the path. Step 3: Use some commands link 'xperf -merge and .\xperf -help processing (.\xperf -i)'. Step 4: Now use up arrow keys to access (Merge) previous command. Step 4: Observe the screen reader behavior. **User Experience:** People with visual impairment who use Screen reader on terminal app will be impacted here as command is announced to them in wrong order. **Guideline Reference:** https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships **Attachments:** [Repro Video.zip](https://github.com/microsoft/terminal/files/9775837/Repro.Video.zip) ### Expected Behavior Screen reader should announce only announced changed command text when using arrow keys to access previous command. Ex: It should announce as '.\xperf<break time="250"/>-merge C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AKP.02-25-2022.00-27-09.etl, C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AK, P.02-25-2022.00-27-56.etl, C:\Users\v-asimeena\Documents\WPR Files\Test.etl'. ### Actual Behavior Screen reader is announcing last line first then announcing whole command when using arrow keys to access previous command. Same issue repro with every command which is more than 1 line. i.e. Screen Reader is announcing as 'P.02-25-2022.00-27-56.etl C:\Users\v-asimeena\Documents\WPR Files\Test.etl, .\xperf<break time="250"/>-merge C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AKP.02-25-2022.00-27-09.etl, C:\Users\v-asimeena\Documents\WPR Files\DESKTOP-J6E4AK, P.02-25-2022.00-27-56.etl, C:\Users\v-asimeena\Documents\WPR Files\Test.etl'.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18669