Skip to content
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

Make suggestion widget aria label more concise #97510

Closed
isidorn opened this issue May 11, 2020 · 13 comments
Closed

Make suggestion widget aria label more concise #97510

isidorn opened this issue May 11, 2020 · 13 comments
Assignees
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented May 11, 2020

As reported by @pawelurbanski
Everytime it is triggered screen reader reads: "Suggestion. Use navigation keys to navigate".. And then the item…
Since users trigger this many times per day, reading the "Use navigation keys to navigate" is not needed

@isidorn isidorn added accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues under-discussion Issue is under discussion for relevance, priority, approach labels May 11, 2020
@isidorn isidorn self-assigned this May 11, 2020
@isidorn
Copy link
Contributor Author

isidorn commented May 11, 2020

We could instead just read "Suggestion" and then the aria-label of the selected item. Or just the aria-label of the selected item.

@pawelurbanski
Copy link
Contributor

pawelurbanski commented May 11, 2020 via email

@MarcoZehe
Copy link
Contributor

Since there is no audible clue that this is indeed a suggestion box, keeping the label for the container as "Suggestion" would be OK, IMO, but yes, removing that "Press up and down to navigate" is indeed too much for that label. It is announced that the user is in a listbox anyway, which always gets navigated with arrow keys.

@pawelurbanski
Copy link
Contributor

pawelurbanski commented May 11, 2020 via email

@isidorn isidorn added this to the May 2020 milestone May 11, 2020
@MarcoZehe
Copy link
Contributor

It would help if VS Code had, on Windows at least, the ability to trigger the same Windows event that the start menu triggers when you type something in the search box and suggestions become available. NVDA makes a distinct sound in this instance, but I have not seen this anywhere except the start menu search box, AKA Cortana search box. That would be cool as an alternative to the "Suggestions" label for the container. :-)

@webczat
Copy link

webczat commented May 11, 2020

Not sure if you disable automatic suggestions/quick suggest? I always get confused by that happening and not sure if it helps if it announces that it's a suggestion or not. In the case of manually activated by ctrl+space I am ok with hearing the suggestion word.

@pawelurbanski
Copy link
Contributor

pawelurbanski commented May 11, 2020 via email

@alex19EP
Copy link

OK. my two cents. I am totally for deleting arrow information. and not only from the autocomplete widget, but also from other VsCode parts.

As for the label, this is an ambiguous situation and we need to think about it. I, as an advanced user, would prefer not to hear: "Suggestion, but you need to think about novices too.

@pawelurbanski
Copy link
Contributor

pawelurbanski commented May 11, 2020 via email

@webczat
Copy link

webczat commented May 11, 2020

I believe in vs and eclipse it would just indicate that you are in a list, then say the suggestion.

@isidorn
Copy link
Contributor Author

isidorn commented May 12, 2020

Thanks a lot for feedback. It is sometimes hard to find a delicate balance between an experience for novice users and for pros.
Though based on your feedback I have decided to remove the "Use the navigation keys to navigate" message all over vscode. Since the screen reader will always announce the correct role I feel it is pretty obvious to use the up / down arrow key.

So pushing this out to insiders so we get feedback.

fyi @joaomoreno since you might have a good reason when you originally added this message.

@isidorn isidorn added bug Issue identified by VS Code Team member as probable bug and removed under-discussion Issue is under discussion for relevance, priority, approach labels May 12, 2020
@joaomoreno
Copy link
Member

@isidorn Just follow the git blame trail: #52658 (comment)

@isidorn
Copy link
Contributor Author

isidorn commented May 12, 2020

Awesome that we removed it then. There was no good motivation to add it in the first place.

@joaomoreno joaomoreno added the verified Verification succeeded label Jun 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

6 participants