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
Notify Screenreader Users When Inline Suggestions Or Decorations Available #130565
In general we need a more powerful hidden TextEdit field to make this happen (to make the editor content more rich accessibility wise). I have tried to make this happen in the past, but was unable due to limited API of the contentEditable. More details here: #97154 (comment)
I think this is something we will need in general, however I am not sure if it would be possible to have this with the current DOM apis.
In case that is not possible than we would need a more specific solution for this particular case (like the status bar updating, or a quick announcement)
In case that is not possible than we would need a more specific solution for this particular case (like the status bar updating, or a quick announcement)
The status bar updating doesn't ping the screenreader afaik. So that wouldn't really help much. What do you mean by a quick announcement exactly?
Hmm ... mostly out of curiosity, would the same not work for other ornaments? We'd probably need a preference section to dial in what a person wants aria-live-announced at any given point, but it feels to me that if we can detect suggestions and aria announce them, could we not do similar things for the others, granting that this would be quite noisy if you have it on all at once?
What would the aria-live-announcement look like? Would it say something like "(Inline) Suggestions available"? Or would it also include the suggestion text?
Maybe we could also explore playing a super short non-speech sound that could possibly be played in parallel to any text speech output?
Since this would be noisy I think it should be as short as possible and not include suggestion text. So that the user is notified but if the user wants to know more Cmd + K, Cmd + I is the way to go. So something like suggestions, Cmd + K, Cmd + I
I like the idea of super short non-speech sound, even though we try not to do this in general and we leave this to screen readers. We try to provide the context, and we leave the announcing and producing sounds to the screen reader. However I am open for exploring this option.
joanmarieLeonard de Ruijter (@LeonarddeR) is there some way to make audio cues to the screen reader through aria attributes? In this particular case we would like a short "notification sound" to be sent to the user. And there are some other use cases where this could be helpful. Thanks
Agreed that sounds would be the best way to fix this, although I recognize that's more effort than adding an aria alert.
This is for instance, how NVDA notifies users that there are search results available when typing in the start menu. Super short sound that can be easily understood parallel to speech.
Henning Dieterichs (@hediet) nicely outlined what are the benefits that this is handled on the screen reader side. Apart from that we would need a different dependency based on platform, and for me it feels like a natural separation between screen reader and app: screen reader is in charge of producing audio (whether it is speech or sounds). Though this might be just my interpretation.
I have also emailed Dante from Visual Studio, so we hear what Visual Studio is doing.
Great feedback all, thanks. Florian Beijers (@zersiax) agree 100% with your suggestion. That is what we plan to do
Jared Stofflett (@jareds) I like your point to keep the volume control to the OS application volume level. This is built in on Win, but there are apps on MacOs that control this. Anyways we can add volume control if needed only later. Setting for each sound might be a bit too fine grained for me, let's revisit this once we tune the folded sound which is too triggered too often now.
devinprater the sounds are extremely brief at present so I'm not sure what you mean by "drawn out". If you mean "drowned out" the suggestion makes no sense to me given NVDA's audioducking would make the sounds quieter, not louder :)
Wow you're right. I wasn't thinking at all when I wrote that. Yeah, audio
ducking wouldn't help there. If only keyboards came with vibration motors.
Ah well, yeah, the sounds will have to be made louder or more distinct.
Devin Prater
***@***.***
Well, there's an invention ready for Microsoft to build into their next
ergonomic keyboards. :)
Devin Prater
***@***.***
On Thu, Jan 20, 2022 at 8:34 AM Gino Scarpino ***@***.***>
wrote:
Isidor Nikolic (@isidorn) I know I'm not the primary user for these sounds, but I do love enabling theses. Are there any plans to customize what sounds a user wants/does not want? For example, I've love to turn off the "folding" noises for myself but keep the rest.
@miguel ***@***.***>, I tend to agree that granular control, while more work to design, implement, and teach our customers, will be key to a successful system of sounds. It would help transform this feature from accessible to inclusive. Cheers!
@misolori we can introduce more granular control later if we feel like there are user looking for this. This can just be a new setting value for audioCues (e.g. json bag). For your example: folding noises are too common and we are working on changing that now - to only play the sound when folded, not foldable.
I wish desktop screen readers were smarter about what they should duck and what not. For example, even with audio ducking enabled, it doesn't make sense to duck system notification sounds, or even the sounds the scren reader itself plays occasionally. On iOS, this works great, but on both Windows and Mac, either everything is ducked, or nothing. So if screen readers were smarter about that, that setting would not even matter for kind of system notification sounds like the one VS Code is producing now.
Marco Zehe (@MarcoZehe) not ...entirely accurate, I believe. Pretty sure VS Code uses its own thing to play sounds, not so much the same process that , say, the Windows Sound Scheme sounds use. VS IDE does try to hook into that same system for build complete and such, I think.
As for system notification noises, I can see cases for both ducking and not ducking notification sounds, e.. if you were to receive a whole bunch of them in rapid succession I can see that being annoying if you're trying to hear your screen reader, particularly if you have audio processing problems. I think the only way for everyone to have their cake and eat it too is to just make ducking configurable on a per-app basis, stick it in a profile or some such. I know of no screen reader that does this, though.
Since we have introduced sounds for breakpoint, errors and folded region I will close this issue.
Here's a follow up issue for next milestone where we plan to explore introducing more sounds #141635
We are really looking forward to feedback and for ideas for other existing features that might benefit from the use of sound.
Thanks all!
Reacted by Miguel Solorio and Alexandr Epaneshnikov
Activity
isidorn commentedon Aug 11, 2021
In general we need a more powerful hidden
TextEditfield to make this happen (to make the editor content more rich accessibility wise). I have tried to make this happen in the past, but was unable due to limited API of thecontentEditable. More details here: #97154 (comment)I think this is something we will need in general, however I am not sure if it would be possible to have this with the current DOM apis.
In case that is not possible than we would need a more specific solution for this particular case (like the status bar updating, or a quick announcement)
fyi Florian Beijers (@zersiax)
zersiax commentedon Aug 11, 2021
The status bar updating doesn't ping the screenreader afaik. So that wouldn't really help much. What do you mean by a quick announcement exactly?
isidorn commentedon Aug 11, 2021
Florian Beijers (@zersiax) that we aria live announce whenever there is an inline suggestion. Though this might be too noisy...
zersiax commentedon Aug 11, 2021
Hmm ... mostly out of curiosity, would the same not work for other ornaments? We'd probably need a preference section to dial in what a person wants aria-live-announced at any given point, but it feels to me that if we can detect suggestions and aria announce them, could we not do similar things for the others, granting that this would be quite noisy if you have it on all at once?
hediet commentedon Aug 12, 2021
What would the aria-live-announcement look like? Would it say something like "(Inline) Suggestions available"? Or would it also include the suggestion text?
Maybe we could also explore playing a super short non-speech sound that could possibly be played in parallel to any text speech output?
isidorn commentedon Aug 12, 2021
Since this would be noisy I think it should be as short as possible and not include suggestion text. So that the user is notified but if the user wants to know more
Cmd + K, Cmd + Iis the way to go. So something likesuggestions, Cmd + K, Cmd + II like the idea of super short non-speech sound, even though we try not to do this in general and we leave this to screen readers. We try to provide the context, and we leave the announcing and producing sounds to the screen reader. However I am open for exploring this option.
isidorn commentedon Aug 12, 2021
joanmarie Leonard de Ruijter (@LeonarddeR) is there some way to make audio cues to the screen reader through aria attributes? In this particular case we would like a short "notification sound" to be sent to the user. And there are some other use cases where this could be helpful. Thanks
joanmarie commentedon Aug 12, 2021
Isidor Nikolic (@isidorn) Not in Orca. But could VSCode itself play sounds? (i.e. why does this need to be done through the screen readers?)
hediet commentedon Aug 12, 2021
I think it would be nice if various standardized notification sounds were a feature of screen readers:
LeonarddeR commentedon Aug 12, 2021
Agreed with joanmarie. Probably best to do this in Code itself. I believe they planned something like that for full Visual Studio as well.
Neurrone commentedon Aug 12, 2021
Agreed that sounds would be the best way to fix this, although I recognize that's more effort than adding an aria alert.
This is for instance, how NVDA notifies users that there are search results available when typing in the start menu. Super short sound that can be easily understood parallel to speech.
isidorn commentedon Aug 12, 2021
Henning Dieterichs (@hediet) nicely outlined what are the benefits that this is handled on the screen reader side. Apart from that we would need a different dependency based on platform, and for me it feels like a natural separation between screen reader and app: screen reader is in charge of producing audio (whether it is speech or sounds). Though this might be just my interpretation.
I have also emailed Dante from Visual Studio, so we hear what Visual Studio is doing.
69 remaining items
isidorn commentedon Jan 20, 2022
Great feedback all, thanks.
Florian Beijers (@zersiax) agree 100% with your suggestion. That is what we plan to do
Jared Stofflett (@jareds) I like your point to keep the volume control to the OS application volume level. This is built in on Win, but there are apps on MacOs that control this. Anyways we can add volume control if needed only later. Setting for each sound might be a bit too fine grained for me, let's revisit this once we tune the folded sound which is too triggered too often now.
devinprater I am not sure. Let's ping some nvda people so they are in the loop that we are adding sounds Leonard de Ruijter (@LeonarddeR)
zersiax commentedon Jan 20, 2022
devinprater the sounds are extremely brief at present so I'm not sure what you mean by "drawn out". If you mean "drowned out" the suggestion makes no sense to me given NVDA's audioducking would make the sounds quieter, not louder :)
devinprater commentedon Jan 20, 2022
gino-scarpino commentedon Jan 20, 2022
devinprater commentedon Jan 20, 2022
miguelsolorio commentedon Jan 21, 2022
Isidor Nikolic (@isidorn) I know I'm not the primary user for these sounds, but I do love enabling theses. Are there any plans to customize what sounds a user wants/does not want? For example, I've love to turn off the "folding" noises for myself but keep the rest.
gino-scarpino commentedon Jan 21, 2022
isidorn commentedon Jan 22, 2022
@misolori we can introduce more granular control later if we feel like there are user looking for this. This can just be a new setting value for
audioCues(e.g. json bag). For your example: folding noises are too common and we are working on changing that now - to only play the sound when folded, not foldable.LeonarddeR commentedon Jan 25, 2022
devinprater wrote:
Actually when NVDA ducking is enabled, the volume of sounds coming from VS Code is lowered. This also applies to JAWS and Narrator ducking I suppose.
MarcoZehe commentedon Jan 25, 2022
I wish desktop screen readers were smarter about what they should duck and what not. For example, even with audio ducking enabled, it doesn't make sense to duck system notification sounds, or even the sounds the scren reader itself plays occasionally. On iOS, this works great, but on both Windows and Mac, either everything is ducked, or nothing. So if screen readers were smarter about that, that setting would not even matter for kind of system notification sounds like the one VS Code is producing now.
zersiax commentedon Jan 25, 2022
Marco Zehe (@MarcoZehe) not ...entirely accurate, I believe. Pretty sure VS Code uses its own thing to play sounds, not so much the same process that , say, the Windows Sound Scheme sounds use. VS IDE does try to hook into that same system for build complete and such, I think.
As for system notification noises, I can see cases for both ducking and not ducking notification sounds, e.. if you were to receive a whole bunch of them in rapid succession I can see that being annoying if you're trying to hear your screen reader, particularly if you have audio processing problems. I think the only way for everyone to have their cake and eat it too is to just make ducking configurable on a per-app basis, stick it in a profile or some such. I know of no screen reader that does this, though.
isidorn commentedon Jan 27, 2022
Since we have introduced sounds for breakpoint, errors and folded region I will close this issue.
Here's a follow up issue for next milestone where we plan to explore introducing more sounds
#141635
We are really looking forward to feedback and for ideas for other existing features that might benefit from the use of sound.
Thanks all!