Skip to content

[Accessibility] Add accessibility signal for progress status in notebooks #196396

Closed

Description

Type: Feature Request

CC Megan Rogge (@meganrogge)

I think progress status is used in many cases, but I encounter this when using Jupyter Notebook. If current cell execution takes a long time, sighted people may see some visual cues indicating its progress status. However, there is no non-visual indication for screen reader users. Please consider adding audio cues.

Also, please consider adding alert as an independent configuration for deaf-blind and braille users.

VS Code version: Code - Insiders 1.84.0-insider (7dff078, 2023-10-24T05:33:54.929Z)
OS version: Windows_NT x64 10.0.22621
Modes:

Activity

  1. added
    feature-request
    accessibility
    on Oct 24, 2023
  2. meganrogge commented on Oct 24, 2023

    @meganrogge
    Collaborator

    Another use case Amnon Freidlin (@AFre100)

  3. AFre100 commented on Oct 24, 2023

    @AFre100

    JooYoung Seo (@jooyoungseo) thank you! Pretty sure this will be implemented, but I had a sidebar question: I’m always updating my audit of assistive audio in the wild—do you have any favorite progress audio cues you might name?

  4. meganrogge commented on Oct 26, 2023

    @meganrogge
    Collaborator

    Would also apply to settings search progress.

    We have the in progress chat response cue already, should that be reused?

  5. AFre100 commented on Oct 30, 2023

    @AFre100

    Megan Rogge (@meganrogge) would it make sense to implement the same system as Copilot chat progress -- i.e. only triggering after x seconds, looping every y seconds, leaving/returning to window, etc?

  6. jooyoungseo commented on Oct 30, 2023

    @jooyoungseo
    Author

    If it is possible to estimate the progress ratio, I suggest an incremental tone just like Gauge Sounds. Otherwise, using audio cue the same as Copilot Chat would be fine.

  7. 58 remaining items

  8. changed the title [-][Accessibility] Add accessibility signal for progress status[/-] [+][Accessibility] Add accessibility signal for progress status in notebooks[/+] on Apr 5, 2024
  9. meganrogge commented on Apr 5, 2024

    @meganrogge
    Collaborator

    Aaron Munger (@amunger), unassigning myself as this issue is now strictly about notebooks adopting chatResponsePending. We should probably rename that and migrate the setting. LMK if you need help with that.

    Creating a separate issue about progress status in places with the progress bar, which we will add the role for as Roberto Perez (@rperez030) has suggested.

  10. AFre100 commented on Apr 12, 2024

    @AFre100

    Megan Rogge (@meganrogge) Aaron Munger (@amunger) There's still the possibility that both notebook cell progress and chat response pending will take place simultaneously, right? If, so, what did you all have in mind — keeping only one at a time via a focus shift/context switching?

    One concern I have with playing this audio cue in the SCM, chat response view, settings UI, etc is these could happen simultaneously, which would be very disruptive and confusing.

    The alternative would be to cancel one that's playing when focus is moved from that area, but I worry that is also a bad solution.

    Perhaps we can do as Roberto Perez (@rperez030) suggests for the cases that have an actual progress bar rendered (SCM, settings search UI, etc.) instead, using this sound only for the cases that do not - notebook cell progress, chat response pending, etc.

  11. meganrogge commented on Apr 12, 2024

    @meganrogge
    Collaborator

    That's unlikely to happen. But yeah, we'll probably cancel based on focus

  12. AFre100 commented on Apr 12, 2024

    @AFre100

    Megan Rogge (@meganrogge) Aaron Munger (@amunger) Feel free to use the existing chatResponsePending progress sound if we're antsy for notebooks to have a progress sound for April. Would be nice to start with the updated sound in this new use case but it's not worth blocking users from its use. Otherwise, I expect to have the updated progress sound for May (as discussed above), which would be used wherever chatResponsePending would be used. (I'm OOF 4/17-4/24 just fyi.)

  13. added
    unreleased
    on Apr 18, 2024
  14. added
    insiders-released
    and removed
    unreleased
    on Apr 19, 2024
  15. venkateshpotluri commented on Apr 23, 2024

    @venkateshpotluri

    i've been taking advantage of these audio cues when running long-running operations in notebooks in the latest insider build, thank you for implementing this! I wanted to make a few suggestions based on my observations to improve the experience.

    • determinant Vs. indeterminant progress bars could use different audio cues. I observe that VSCode plays the chat response pending sound for any operation that takes above a certain time. It may be useful to have a different sound as suggested by JooYoung Seo (@jooyoungseo) that conveys the actual progress for long operations that surface this information (e.g. operations using the TQDM progress bars), with the chat response pending sound reserved for operations with indeterminant progress.
    • option to set smart repeat frequency based on desired verbosity for determinant progress bars. The current experience results in an audio cue being played every few seconds irrespective of the duration of the operation. This could result in noisy output for long-running operations. For example, hearing an alert every 3 seconds for an operation that is expected to take a few hours may not be desirable. updates with lesser verbosity, combined with VSCode's ability to play these cues in the background could enable an amazing multi-tasking developer experience. TQDM progress bars provide the following information to screen readers which makes me think that smart repeat frequency may be possible: " 57%|█████▊ | 115/200 [1:55:47<1:25:38, 60.46s/it]"
    • Option to disable audio cues when VSCode is out of focus. This may be less necessary if the alert frequency can be adjusted based on operation time for tasks that provide information for the runtime to be estimated as suggested in my previous point but may still be useful for long-running tasks where runtime cannot be estimated.
    • potentially confusing reasons for progress. I do not have a suggestion yet on how to address this, but I notice that VSCode plays a few progress sounds when I wake my computer up even if there is no running operation. I work by connecting to a computer via remote-ssh so I am not sure if this sound is a result of my local IDE re-connecting to VSCode Server on the remote machine. Being able to identify what a progress bar corresponds to could be helpful.
  16. AFre100 commented on Apr 24, 2024

    @AFre100

    Venkatesh Potluri (@venkateshpotluri) thanks! Checking this out when I return tomorrow. Stay tuned

  17. added
    on-release-notes
    on Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

accessibilityaccessibility-signalfeature-requestinsiders-releasednotebook-accessibilityon-release-noteson-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions