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

Test: accessibilityHelpContent view property API #210668

Closed
3 tasks done
meganrogge opened this issue Apr 18, 2024 · 1 comment
Closed
3 tasks done

Test: accessibilityHelpContent view property API #210668

meganrogge opened this issue Apr 18, 2024 · 1 comment

Comments

@meganrogge
Copy link
Contributor

meganrogge commented Apr 18, 2024

Refs #209855

Complexity: 3

Create Issue


Accessibility help dialogs exist around the workbench - in the terminal, chat input, editor, and more. With focus in these areas, in screen reader mode, you can view them by pressing alt+f1.

Extensions, like the GHPR extension, want to contribute help dialogs. There is proposed API to allow adding this to a view via accessibilityHelpContent.

Add this for a view. When your focus is in the view, use alt+f1 and you should see the content that you've provided.

Remember to include: "contribAccessibilityHelpContent" in your "enabledApiProposals". Verify that it does not work if you don't include this.

Verify that when you provide keybindings in the format of <keybinding:commandId>, it's resolved or there's text indicating there's no keybinding with a link to configure. Verify the link to configure it brings you to the keybindings editor with that command id.

Here is an example of what it will look like:
322630232-5bed81a6-c411-4fb8-a02e-3966667e9ee6

@paulacamargo25
Copy link
Contributor

@meganrogge i tried to add a debug view but it didnt work, do you have an example on how to add "accessibilityHelpContent"? Thanks

@paulacamargo25 paulacamargo25 removed their assignment Apr 23, 2024
@rzhao271 rzhao271 removed their assignment Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants