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
[A11y] Keyboard focus is not automatically moved to toast notification #81786
I just tried this out and I disagree.
Notificatinos are something that is in the background and they should definentely not steal focus.
If every notification was stealing focus, then the user can be distributed all the time by random spam notifications from extensions. And this would lead to a very bad exeperience.
I am closing this as caused by extension and my recommendation is that the Java Extension Pack should use a modal dialog, and not a notificatino if the extension wants to focus to be switched to that and the user to be interupted.
I hope this makes sense, but all the API is there and it is up to the extension to decide which dialog should steal focus (use modal) and which not (use notifications).
Bottom line: notifications should not be obtrusive.
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Activity
vscodebot commentedon Oct 1, 2019
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Benjin commentedon Oct 1, 2019
Refiling of #81483 with repro specific to VS Code
isidorn commentedon Oct 2, 2019
Assignign to next milestone to investigate then.
isidorn commentedon Oct 25, 2019
I just tried this out and I disagree.
Notificatinos are something that is in the background and they should definentely not steal focus.
If every notification was stealing focus, then the user can be distributed all the time by random spam notifications from extensions. And this would lead to a very bad exeperience.
I am closing this as caused by extension and my recommendation is that the Java Extension Pack should use a modal dialog, and not a notificatino if the extension wants to focus to be switched to that and the user to be interupted.
I hope this makes sense, but all the API is there and it is up to the extension to decide which dialog should steal focus (use modal) and which not (use notifications).
Bottom line: notifications should not be obtrusive.
vscodebot commentedon Oct 25, 2019
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!