Skip to content

[Accessibility] Error audio cues are not played on a character level. #172525

Closed

Description

CC Megan Rogge (@meganrogge)

  • Notes: This is not a regression.
  1. Create test.ts:
// line 1 comment
xxxx // line 2: intentional error
// line 3 comment
  1. With screen reader, do the following:
  • In l2, use LeftArrow and RightArrow to navigate the line character by character: You only hear the error audio cue just one time in the first character "x" not in other characters causing the error.

Expected Behavior

See how the audio cues in diff editor behaves. That's ideal! In diff editor audio cues are played even on a character-level when users use Left/RightArrow keys. This is fantastic because users can hear where the diff starts and ends precisely. However, the error/warning audio cues are not working like that.

System Info

Version: 1.75.0-insider (system setup)
Commit: 07d6f5b
Date: 2023-01-26T05:23:05.014Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: Yes

Activity

  1. added
    bug
    accessibility
    on Jan 26, 2023
  2. added a commit that references this issue on Feb 3, 2023
    f1004c3
  3. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Feb 7, 2023
  4. added a commit that references this issue on Feb 16, 2023
    99f28cf
  5. alexr00 commented on Feb 22, 2023

    @alexr00
    Member

    I've verified that the audio cue plays for each character of the error. However, it no longer plays when the cursor enters the line. Is this intentional/desirable?

  6. meganrogge commented on Feb 22, 2023

    @meganrogge
    Collaborator

    Hmm, I cannot reproduce that Alex Ross (@alexr00) . A gif would be helpful - moving from one line to another via up and down arrow keys still works for me. also using the mouse to go to the line works

  7. alexr00 commented on Feb 23, 2023

    @alexr00
    Member

    Megan Rogge (@meganrogge) I have my cursor here:
    image

    And then I hit right arrow to go to the new line. Audio cue is not read.

  8. meganrogge commented on Feb 23, 2023

    @meganrogge
    Collaborator

    if you right arrow there (or down arrow), you won't be on the arrow - you'll be on the semicolon, which is not a part of the error

  9. alexr00 commented on Feb 23, 2023

    @alexr00
    Member

    Megan Rogge (@meganrogge) correct. My question was whether this is intentional/desirable. Before, the audio cue would play when you entered the line no matter where you entered the line, which provided a cue that there's an error on this line somewhere. Now, it only plays when you enter the error itself. I really don't know if having the cue play when you enter the line is useful, but I wanted to point out this difference.

  10. meganrogge commented on Feb 23, 2023

    @meganrogge
    Collaborator

    Ah thanks for that clarification. JooYoung Seo (@jooyoungseo) would be the one to ask here.

    The test case Alex Ross (@alexr00) described is:

    • insert this code in an editor:
    // this is a long comment
    const x = _notDefined;
    
    • put your cursor right after comment
    • arrow right or down so the cursor lands to the right of the semi-colon
    • there is an error specifically for the _notDefined range which does not include a semi-colon

    the question is whether or not the error audio cue should be played.

  11. jooyoungseo commented on Feb 23, 2023

    @jooyoungseo
    Author

    Megan Rogge (@meganrogge) Isn't it related to #174857?

  12. added
    feature-request
    on-release-notes
    on Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

accessibilitybugfeature-requestinsiders-releasedon-release-notesverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions