Skip to content

[A11y] Screenreader reads unrelated text before toast notification/alert contents #81787

Closed

Description

Environment Details:
Application Name: Visual Studio Code
Application Version: 1.38.1 (user setup)
Commit: b37e54
Electron: 4.2.10
Node.js: 10.11.0
OS: Windows_NT x64 10.0.18362

Repro steps:

  1. Go to Extensions
  2. Pick any ol' extension (confirmed on Java Extension Pack)
  3. Launch screen reader, like NVDA
  4. Use keyboard to select "Install" button
  5. Hit on keyboard

Expectation:
Toast content are read by the screen reader, as they're the most pertinent to the user's next action.

Reality:
Lots of intermediate text is read first, finally getting to the toast that's been waiting. Should have higher aria priority.

Activity

  1. Benjin commented on Oct 1, 2019

    @Benjin
    Author

    Refiling of #81484 with repro specific to VS Code

  2. added
    accessibility
    workbench-notifications
    on Oct 2, 2019
  3. isidorn commented on Oct 2, 2019

    @isidorn

    Assignign to next milestone to investigate then.

  4. added
    under-discussion
    on Oct 16, 2019
  5. isidorn commented on Oct 25, 2019

    @isidorn

    Same reasoning as #81786

    I just tried this out and I disagree.
    Notificatinos are something that is in the background and they should definentely not steal users attention by being read immediatly.

    If every notification was doing this, 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.

  6. added
    *caused-by-extension
    on Oct 25, 2019
  7. locked and limited conversation to collaborators on Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*caused-by-extensionaccessibilityunder-discussionworkbench-notifications

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions