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

Add accessibility label to touchbar buttons #82154

Closed
christopherpross opened this issue Oct 9, 2019 · 7 comments
Closed

Add accessibility label to touchbar buttons #82154

christopherpross opened this issue Oct 9, 2019 · 7 comments
Assignees
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues electron Issues and items related to Electron feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code upstream Issue identified as 'upstream' component related (exists outside of VS Code) workbench-touchbar Mac touchbar issues
Milestone

Comments

@christopherpross
Copy link

Hey,
the buttons in VSCode are not labeled for VoiceOver, because this buttons use only icons. I understand, that icons are better as text labels. I searched in the code of electron, whether we can easily use a accessibilityLabel, that VoiceOver can read out. This has the advantage that the design of the Touch Bar-elements haven't to change, only a attribute have to add.
I found out, that electron don't offer a accessibilityLabel for Touch Bar-controls, so I opened a issue.
here is the issue fixed, very fast. :-)
So, electron offers now an AccessibilityLabel for Touchbar-controls.
Hopefully this feature can be merged in VSCode.
When this is not possible, in the next time, a work-around can be, to use text labels, if the accessibility mode is turned on.
What do you think?

best regards,
Christopher

@bpasero
Copy link
Member

bpasero commented Oct 9, 2019

Sounds good. It will probably be another 3-6 months before we go with a newer Electron version (>6) so we need to wait for that.

//cc @deepak1556

@bpasero bpasero added accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues feature-request Request for new features or functionality workbench-touchbar Mac touchbar issues labels Oct 9, 2019
@bpasero bpasero removed their assignment Oct 9, 2019
@bpasero bpasero changed the title accessibility: Touch Bar accessibilityLabels for VoiceOver Electron 7+: Use Touch Bar accessibilityLabels for VoiceOver Oct 9, 2019
@bpasero bpasero added the upstream-issue-fixed The underlying upstream issue has been fixed label Oct 9, 2019
@bpasero bpasero added this to the Backlog milestone Oct 24, 2019
@bpasero bpasero self-assigned this Jan 9, 2020
@bpasero bpasero modified the milestones: Backlog, January 2020 Jan 9, 2020
@bpasero bpasero changed the title Electron 7+: Use Touch Bar accessibilityLabels for VoiceOver Electron 8+: Use Touch Bar accessibilityLabels for VoiceOver Jan 10, 2020
@bpasero bpasero modified the milestones: January 2020, Backlog Jan 10, 2020
@Det87
Copy link

Det87 commented Apr 9, 2020

What's the Roadmap on updating Electrons? I just received my first 1.45 nightly, but it's still not got even Electron 8 (stable since 2 months ago: https://www.electronjs.org/releases/stable?page=2), and judging by the VSC release history (https://github.com/microsoft/vscode/releases), Electron 9 could still even make it to stable before the final 1.45 is out (https://www.electronjs.org/docs/tutorial/electron-timelines).

@bpasero bpasero added upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed electron-9-update upstream-issue-fixed The underlying upstream issue has been fixed feature-request Request for new features or functionality labels Aug 27, 2020
@bpasero
Copy link
Member

bpasero commented Aug 27, 2020

@christopherpross unfortunately I do not see support for an accessibility label in the touchbar classes we use in VSCode: TouchBarSegmentedControl has an array of SegmentedControlSegment which do not provide any accessibility label:

image

Maybe you could ask for support in Electron repo.

@bpasero bpasero added the electron Issues and items related to Electron label Aug 27, 2020
@bpasero bpasero changed the title Electron 8+: Use Touch Bar accessibilityLabels for VoiceOver Add accessibility label to touchbar buttons Aug 27, 2020
@christopherpross
Copy link
Author

Hm, so here is the issue I had created for this:
electron/electron#20443

and this is the pr which resolves my issue, there is also a small description how it is now resolved:
electron/electron#20454

I hope it helps.

all the best,
Christopher

@bpasero
Copy link
Member

bpasero commented Sep 1, 2020

@christopherpross I am aware of the issue and the change, but VSCode is not using TouchBarButton or TouchBarLabel for the touchbar support. We need this API on the level of TouchBarSegmentedControl.

@bpasero bpasero added the feature-request Request for new features or functionality label Nov 4, 2020
@bpasero bpasero removed their assignment Nov 4, 2020
@isidorn isidorn self-assigned this Nov 11, 2020
@isidorn
Copy link
Contributor

isidorn commented Oct 31, 2022

Touchbar is going away on latest macs. thus closing as out of scope

@isidorn isidorn added the *out-of-scope Posted issue is not in scope of VS Code label Oct 31, 2022
@VSCodeTriageBot
Copy link
Collaborator

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues electron Issues and items related to Electron feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code upstream Issue identified as 'upstream' component related (exists outside of VS Code) workbench-touchbar Mac touchbar issues
Projects
None yet
Development

No branches or pull requests

6 participants