You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Screen readers not announcing encountered break points #90842
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesdebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded
Using aria alerts to announce that there is a breakpoint on that line seemed too intrusive and potentially spammy. Thus we decided to have F1 > "focus on breakpoints" command that can take the user to the breakpoints view where he / she can navigate over them.
redeyedragon Would you prefer that on every line we announce that a breakpoint is present? Would you expect that to be announced before or after the line content?
Please note that we announce once breakpoints get hit, which might be related to this.
I understand what you are saying it could seem a bit intrusive but here is my perspective. If someone is at the point where they are inserting breakpoints they are probably in debug mode which means they are adding and removing several break points. It is absolutely necessary that the user knows where they have break points placed within the file. I believe it should be announced on the line where the break point is placed and it should be announced at the beginning of the line. As I move through my code I do not want to have to listen to every lines contents to find where I have placed a break point. If I hear it at the start of the line I can decide from there to skip it or read the rest of the line.
I went through the F1 list of commands. There is no key binding set for moving to or through break points. This might help a bit but still there is no indication through speech that a break point is present on a line.
After thinking about this a bit furhter I believe this is a subset of a more general issue: items in the glyph margin are not read out to screen readers.
Same as a breakpoint can be on a line, we can also have a code action or a folding or a line number.
Currently our strategy is not to read any of those and users can manually trigger some of those to be read out.
Maybe a more optimal solution would be one command that could be triggered to read all of the following: breakpoints, code actions, line numbers.
Not on the current plan, thus assigning to On Deck.
Isidor Nikolic (@isidorn)
In my opinion and experience if there are attributes being displayed visually, effecting my code base, or providing me with some kind of information relevant to my development environment I need/want to know about that. For example, when I am in VIM and developing code I turn on line numbers so when I view a stack trace I know where the issue is. When I switch to VIM I can jump to the line quickly but it helps to know what line it is on because the issue is not always on the line referenced. similarly, when there are breakpoints, line breaks, syntax issues, or line numbers; I want to know about them. They might not need to be read out verbose but knowing they are present on a line is information a developer needs to know. I think it could be handled in the same way "hints" are handled when you enter a () into a function. It notifies you there is suggested hints but does not display them.
Additionally, it would be awesome if there could be some kind of indicator for tabs in the beginning of the line. If this is a feature already is there a way to enable it? This is another feature that could be done on command with a key stroke. Perhaps a CTRL + T, could read out "2, or 3 to let me know I am indented 3 levels.
Hi. I'm also struggling with this issue. Mostly, I just want a notification when I reach a line with folded code.
One option you might consider would be to add earcons. I'm not sure if there is ever any additional information provided along side these left-margin annotations, other than the fact that they exist, but playing a specific sound when the user reaches a line with folded code, or a breakpoint, would work well for me, and is not likely to interfere with the users ability to listen to their screen reader. Unfortunately, this would not help users who are Deaf or hard of hearing, or who, for whatever reason, use braille only.
Quick update: we are looking into doing quick announcements on the vscode side when a decoration is encountered (like a breakpoint). More details in this issue #130565 (comment)
Feedback welcome.
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesdebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded
Activity
isidorn commentedon Feb 18, 2020
Using aria alerts to announce that there is a breakpoint on that line seemed too intrusive and potentially spammy. Thus we decided to have F1 > "focus on breakpoints" command that can take the user to the breakpoints view where he / she can navigate over them.
redeyedragon Would you prefer that on every line we announce that a breakpoint is present? Would you expect that to be announced before or after the line content?
Please note that we announce once breakpoints get hit, which might be related to this.
bjduarte commentedon Feb 18, 2020
I understand what you are saying it could seem a bit intrusive but here is my perspective. If someone is at the point where they are inserting breakpoints they are probably in debug mode which means they are adding and removing several break points. It is absolutely necessary that the user knows where they have break points placed within the file. I believe it should be announced on the line where the break point is placed and it should be announced at the beginning of the line. As I move through my code I do not want to have to listen to every lines contents to find where I have placed a break point. If I hear it at the start of the line I can decide from there to skip it or read the rest of the line.
I went through the F1 list of commands. There is no key binding set for moving to or through break points. This might help a bit but still there is no indication through speech that a break point is present on a line.
isidorn commentedon Feb 18, 2020
Ok this makes sense, and thanks for feedback. Assigning to next milestone (March) to investigate further then what could be done here.
As for F1 commands, try to F1 > focus breakpoints view and in there you can jump to breakpoints and navigate which should help.
isidorn commentedon Mar 4, 2020
After thinking about this a bit furhter I believe this is a subset of a more general issue: items in the glyph margin are not read out to screen readers.
Same as a breakpoint can be on a line, we can also have a code action or a folding or a line number.
Related issues #43262
microsoft/monaco-editor#410
Currently our strategy is not to read any of those and users can manually trigger some of those to be read out.
Maybe a more optimal solution would be one command that could be triggered to read all of the following: breakpoints, code actions, line numbers.
Not on the current plan, thus assigning to On Deck.
fyi Alexandru Dima (@alexdima)
bjduarte commentedon Mar 4, 2020
Isidor Nikolic (@isidorn)
In my opinion and experience if there are attributes being displayed visually, effecting my code base, or providing me with some kind of information relevant to my development environment I need/want to know about that. For example, when I am in VIM and developing code I turn on line numbers so when I view a stack trace I know where the issue is. When I switch to VIM I can jump to the line quickly but it helps to know what line it is on because the issue is not always on the line referenced. similarly, when there are breakpoints, line breaks, syntax issues, or line numbers; I want to know about them. They might not need to be read out verbose but knowing they are present on a line is information a developer needs to know. I think it could be handled in the same way "hints" are handled when you enter a () into a function. It notifies you there is suggested hints but does not display them.
Additionally, it would be awesome if there could be some kind of indicator for tabs in the beginning of the line. If this is a feature already is there a way to enable it? This is another feature that could be done on command with a key stroke. Perhaps a CTRL + T, could read out "2, or 3 to let me know I am indented 3 levels.
isidorn commentedon Mar 4, 2020
redeyedragon what you are saying makes sense.
As for reading indentation we plan to tackle that in the current march milestone as is coveed by this issue #88877
[-]VoiceOver not announcing encountered break point[/-][+]Screen readers not announcing encountered break points[/+]13 remaining items
aleventhal commentedon Apr 24, 2020
LeonarddeR commentedon May 1, 2020
If an editable content approach is used, that might also open up possibilities to fix #90578 and #95428.
isidorn commentedon May 7, 2020
Created this item for the contenteditable exploration which I plan to do this milestone #97154
cannona commentedon Dec 14, 2020
Hi. I'm also struggling with this issue. Mostly, I just want a notification when I reach a line with folded code.
One option you might consider would be to add earcons. I'm not sure if there is ever any additional information provided along side these left-margin annotations, other than the fact that they exist, but playing a specific sound when the user reaches a line with folded code, or a breakpoint, would work well for me, and is not likely to interfere with the users ability to listen to their screen reader. Unfortunately, this would not help users who are Deaf or hard of hearing, or who, for whatever reason, use braille only.
isidorn commentedon Aug 17, 2021
Quick update: we are looking into doing quick announcements on the vscode side when a decoration is encountered (like a breakpoint). More details in this issue #130565 (comment)
Feedback welcome.
fyi Henning Dieterichs (@hediet)
isidorn commentedon Jan 7, 2022
Fixed via #140044 by Henning Dieterichs (@hediet)
Sound design by Gino Scarpino (@gino-scarpino)
This will be present in VS Code insiders from Monday. We would really appreciate the feedback.
Thank you!
Verifier:
"audioCues.enabled": "on"