Skip to content

screen reader mode rarely reads command output with VoiceOver #3247

@dmartin

Description

@dmartin

When screenReaderMode is enabled, the output of an entered command is rarely read back by VoiceOver (e.g. is added to the live region in the DOM.)

The length of the command's output seems to determine how likely it is that the output will actually be read, for example pwd output will almost never be read, ls output maybe one in twenty times, ls -l output most of the time. This seems like it might be a race condition that depends on how long it takes to render the output of a command.

For some reason, I have never had this problem with VSCode's integrated terminal, only when using xterm.js standalone.

Details

  • Browser and browser version: Chrome 89, Safari 14.0.3
  • OS version: macOS 11.2
  • xterm.js version: 4.10

Steps to reproduce

  1. Clone and set up xterm.js
  2. In demo page, enable screenReaderMode and VoiceOver
  3. Note that entered text is spoken, but the results of commands only rarely.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions