-
-
Notifications
You must be signed in to change notification settings - Fork 639
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
Implement selectionContainer design pattern for lists and tree views #10861
Comments
Could you expand the description? Do you intend to change behavior only for vsCode, or more generally? I quickly read through microsoft/vscode#91061 and it seems you already noted that we don't speak "not selected" for verbosity reasons, since it is the default state for most lists. Why is it necessary to have a different approach in vsCode? Could you summarize the rationale in the linked issue for us? |
I updated the initial description.
Sure. The explorer tree view in Visual Studio Code allows multiple items to be selected. Currently, the selected state is omitted for all selected items, whether selected one or more items. Announcing the selected state when multiple items in the tree are selected (such as in Google Sheets) would be helpful, not only for VS Code but also for other lists that allow selection. |
Ugh, it looks like VS code selection really behaves a bit weird from a non visual perspective, see microsoft/vscode#91061 (comment) and microsoft/vscode#91061 (comment). @bkoray noted in microsoft/vscode#91061 (comment) that he would really like the ability in NVDA to hear how many items are selected. Though that's a different subject, I think this issue can be a good starting point. As soon as the list/tree views in VS Code behave like selection containers, we can expand the report object with focus script to provide a selection count, for example. |
Its not only problem in VS Code tree views in JetBrains IDE's are suffering from similar issues. There the experience is worse as every item with focus is announced as selected, unless unselected explicitly with CTRL+Space |
Related to #14352. Chrome started to improve things, at least for single select. |
Is your feature request related to a problem? Please describe.
The people from VS Code are struggling with how to communicate selection in their multiselectable tree view to NVDA. Currently, only unselected items are mentioned as such, multi selection isn't reported. See microsoft/vscode#91061
Describe the solution you'd like
In #8879, the selectionContainer property was introduced on NVDAObjects to report selection in Google Sheets.
I'd like to expand the selectionContainer approach to lists and tree views, not specifically limited to VS Code, but also in Windows Explorer for example. This would allow for:
I think it would also be helpful if multi selection would be pronounced as such, e.g. by means of a new state. This allows the user to recognize whether he can select multiple items in a tree view, such as what's the case in VS Code. For lists, announcing multi selection is likely to be redundant.
Thoughts @michaelDCurran and @jcsteh?
Cc @isidorn
The text was updated successfully, but these errors were encountered: