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

"Group" is read when editor is focused #89230

Closed
isidorn opened this issue Jan 24, 2020 · 7 comments
Closed

"Group" is read when editor is focused #89230

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

Comments

@isidorn
Copy link
Contributor

isidorn commented Jan 24, 2020

Turn on VoiceOver, focus an editor
The following is read
"x editor, Editor Group 1 group".

  1. group should not be read
  2. Editor Group 1 should only be read if there is more than one group

fyi @ivanfetch

@isidorn isidorn added accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues accessibility-voiceover labels Jan 24, 2020
@isidorn isidorn added this to the January 2020 milestone Jan 24, 2020
@isidorn isidorn self-assigned this Jan 24, 2020
@isidorn
Copy link
Contributor Author

isidorn commented Jan 29, 2020

Could not fix 1), since "group" is automatically read by VoiceOver. Suggestions on how to fix this are welcome.
2) I fixed, fyi @bpasero on my approach

Adding bug so we get this verified.
To verify: turn on screen reader and focus an editor, make sure the "Editor Group" is only read out if there is more than 1 group.

@isidorn isidorn added the bug Issue identified by VS Code Team member as probable bug label Jan 29, 2020
@bpasero
Copy link
Member

bpasero commented Jan 29, 2020

@isidorn can we have a debt item for Feb to fix it properly? I think we are happily setting this:

this.editorContainer.setAttribute('aria-label', this.computeAriaLabel());

But we actually do not update the editor options ariaLabel property at all. Neither from group changes nor from label changes. In fact I think we are computing the aria label twice: /~https://github.com/microsoft/vscode/blob/master/src/vs/workbench/browser/parts/editor/textEditor.ts#L97

@bpasero
Copy link
Member

bpasero commented Jan 29, 2020

PS: I even wonder if we should go back and not update the aria label on each label change in untitled editors. After all that might be very confusing for users that need screen readers. We could simply just set the Untitled-<N> thing and it would probably be fine.

@isidorn
Copy link
Contributor Author

isidorn commented Jan 29, 2020

@bpasero Yeah, I was just copying what you were doing on the label change. I will create a debt item

As for untitled editors, having the aria label Untitled <N> makes perfect sense for me. Feel free to change that.

@sandy081 sandy081 added the verification-found Issue verification failed label Jan 31, 2020
@sandy081
Copy link
Member

sandy081 commented Jan 31, 2020

@isidorn Group 1 is not read when there are more than one group

image

@sandy081 sandy081 reopened this Jan 31, 2020
@isidorn isidorn modified the milestones: January 2020, February 2020 Jan 31, 2020
@isidorn
Copy link
Contributor Author

isidorn commented Jan 31, 2020

We properly update the aria-label on the vscode side, however VoiceOver does not properly read the updated one.
However since we already have a debt item for this here #89621
I would prefer to keep this closed and as part of that debt work check if we can do something better

@isidorn isidorn closed this as completed Jan 31, 2020
@isidorn
Copy link
Contributor Author

isidorn commented Feb 27, 2020

Since @bpasero fixed this in the end, I have just verified it works fine, Thus adding verified label.

@isidorn isidorn added the verified Verification succeeded label Feb 27, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 16, 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 verification-found Issue verification failed verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants