New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect aria live politeness for UIA objects #11596
Conversation
My reading of MDN / the spec leads me to believe that assertive should be mapped to a speech priority of next, and polite should be mapped to a speech priority of normal. |
That makes sense. However I"m afraid that in practice, there's not much difference between how next and normal are reported. Only during say all, next will probably kick in quicker.
This is correct.
That is weird. What happens if you move with arrow keys through the suggestions? Do they speak instantly? |
I'm certainly getting speech interruption on each downArrow press.
I'll try and investigate tomorrow where that is actually coming from.
|
On my machine at least, with VS 2019 16.7, the those menu items use the IntelliSenseItem UIA NVDAObject. And that is where the cancelSpeech etc is coming from. |
This is strange. It seems like the logic that works for VS2017 also applies to VS2019 on your system. here, on VS 2019, the class name of the list items is 'IntellisenseMenuItem' which is the same as in vs2017. However, here the automation id of the parent list is CompletionList, not listBoxCompletions as in VS2017. What str are you following in Visual Studio? May be there's a difference in what code you're working with (e.g. i'm working with C# code here) |
Ugh, I just tried it with C++ code, and yes, you're correct, there the class name of the list is different. How utterly confusing! |
Based on the above comments, I decided to go with @michaelDCurran's suggestiong regarding speech priorities. Visual Studio issues have to be solved in a separate pr. |
Hello, |
Has this PR been superseded by #11609? |
No. We still don't respect Aria Live politeness for other live region
controls until this pr is merged.
|
Link to issue number:
Related to ##9079
Summary of the issue:
Visual Studio uses a live region to communicate relevant things to the screen reader. However, in the case of intellisense, the selected item is spoken after the current line of text, which is very annoying when working with long lines.
Description of how this pull request fixes the issue:
We actually never supported the aria live politeness setting for UIA objects. I implemented the following:
Testing performed:
Tested in Visual Studio that intellisense popups are spoken instantly.
Known issues with pull request:
In #9079, the aria live politeness level is regarded to as level, whereas I chose for politeness, in line with MDN. Should we be consistent here, and what is the preferred term?
Change log entry: