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
Accessibility of links in exception widget #111758
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code Insidersverification-foundIssue verification failedverifiedVerification succeeded
I tested this with Narrator on Windows. I tried to tab to the links in the exception widget to open them, but I couldn't find a way to get there. I think I should be able to as Narrator reads the stack trace to me.
When opening the test execution report I find a link to go to the test source. I press the enter key on that link but nothing happens. I don't know if it's a different problem or caused by the same situation.
I have changed the exception widget in vscode that each link can be focused to, and if we know where the link leads to (we could resovle it) then enter and space open that file in the editor.
So to verify:
Have an exception in your simple javascript program
Make sure you can tab over stack trace links and that enter or space navigates you to the link (if the link points to an existing file)
I tried to test causing an exception in a java application but I was not successful.
The exception is read by orca but the tab key has no effect.
As I am not javascript knowledgeable would it be possible to give me a hint on how to cause an exception in a JS?
Perhaps this will help me to understand the problem.
What happens to me. Once an exception is thrown, focus is on the exception widget and I can press tab, first focus on the Esc button and following tab to navgiate over the links.
Maybe that exception does not show a stack trace. I do not have java setup so I can not really tell.
So either you can try with JavaScript or I can try to use a Docer Container that has Java setup
I can confirm that using JavaScript the links are displayed as described. However the same does not happen when using a Java application.
Is there anything I can do to help identify this likely problem?
Send a print screen, record a video, run code-insiders with some kind of debug or something worthwhile.
I'm trying to send two screenshots. I'm sorry if they are not ok because as I am blind, I made the capture blindly!
Let me know if they are not ok, I can make a new capture with the help of someone who sees.
The first image shows the result when I used a JS application and the second shows the result when I used a java application.
The javascript throws a stack trace and thus you can tab into it.
In the Java example there is not stack trace, and thus you can not tab.
This is controlled by the java extension, so Sheng Chen (@jdneo) or Jinbo Wang (@testforstephen) could comment why in this example the exception does not contain a stack trace. To send a stack trace with the exception an adapter has to fill this stackTrace
On both Codespaces and Windows I'm unable to tab into the links with Narrator.
The focus order is the red Exception view, followed by the close button for that view, followed by the Problems tab in the panel that I have on the bottom.
accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code Insidersverification-foundIssue verification failedverifiedVerification succeeded
Activity
isidorn commentedon Dec 2, 2020
I agree with this 100%.
Assigning to December to try to add it then - since we never had this, no need to rush something in Endgame.
jvesouza commentedon Jan 11, 2021
When opening the test execution report I find a link to go to the test source. I press the enter key on that link but nothing happens. I don't know if it's a different problem or caused by the same situation.
isidorn commentedon Jan 11, 2021
José Vilmar Estácio de Souza (@jvesouza) that is a different problem. I am not sure what is the test exceution report, does it come from the Java extension or from the test viewlet.
fyi Connor Peet (@connor4312)
isidorn commentedon Jan 19, 2021
Just for clarity here's the issue José Vilmar Estácio de Souza (@jvesouza) was metnionig (it is a java extension test view) https://github.com/notifications?query=is%3Adone
I have changed the exception widget in vscode that each link can be focused to, and if we know where the link leads to (we could resovle it) then
enterandspaceopen that file in the editor.So to verify:
tabover stack trace links and that enter or space navigates you to the link (if the link points to an existing file)jvesouza commentedon Jan 20, 2021
I tried to test causing an exception in a java application but I was not successful.
The exception is read by orca but the tab key has no effect.
As I am not javascript knowledgeable would it be possible to give me a hint on how to cause an exception in a JS?
Perhaps this will help me to understand the problem.
isidorn commentedon Jan 20, 2021
José Vilmar Estácio de Souza (@jvesouza) here's an example JS program that throws an exception. Just make sure to have checked "Uncaught Exceptions"
What happens to me. Once an exception is thrown, focus is on the exception widget and I can press
tab, first focus on theEscbutton and followingtabto navgiate over the links.jvesouza commentedon Jan 20, 2021
I have the following java code:
When I debug this code I receive the following error
But when I press the tab key no links are shown.
isidorn commentedon Jan 20, 2021
Maybe that exception does not show a stack trace. I do not have java setup so I can not really tell.
So either you can try with JavaScript or I can try to use a Docer Container that has Java setup
jvesouza commentedon Jan 20, 2021
I can confirm that using JavaScript the links are displayed as described. However the same does not happen when using a Java application.
Is there anything I can do to help identify this likely problem?
Send a print screen, record a video, run code-insiders with some kind of debug or something worthwhile.
isidorn commentedon Jan 20, 2021
José Vilmar Estácio de Souza (@jvesouza) you can send a print screen, or maybe Sheng Chen (@jdneo) knows more. If the stack trace information is part of java exception stack trace
jdneo commentedon Jan 21, 2021
Yes a screenshot will be helpful!
jvesouza commentedon Jan 21, 2021
I'm trying to send two screenshots. I'm sorry if they are not ok because as I am blind, I made the capture blindly!
Let me know if they are not ok, I can make a new capture with the help of someone who sees.
The first image shows the result when I used a JS application and the second shows the result when I used a java application.


isidorn commentedon Jan 21, 2021
José Vilmar Estácio de Souza (@jvesouza) thanks for the screen shots, they show the issue.
The javascript throws a stack trace and thus you can tab into it.
In the Java example there is not stack trace, and thus you can not tab.
This is controlled by the java extension, so Sheng Chen (@jdneo) or Jinbo Wang (@testforstephen) could comment why in this example the exception does not contain a stack trace. To send a stack trace with the exception an adapter has to fill this
stackTracetestforstephen commentedon Jan 22, 2021
Isidor Nikolic (@isidorn) José Vilmar Estácio de Souza (@jvesouza) thanks, i have created a feature request at microsoft/vscode-java-debug#940 to print stacktraces info for exception breakpoint.
isidorn commentedon Jan 22, 2021
Jinbo Wang (@testforstephen) awesome, thanks
rzhao271 commentedon Jan 27, 2021
On both Codespaces and Windows I'm unable to tab into the links with Narrator.
The focus order is the red Exception view, followed by the close button for that view, followed by the Problems tab in the panel that I have on the bottom.