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

Edit Context: Screen Reader Users Feedback #229051

Open
aiday-mar opened this issue Sep 19, 2024 · 2 comments
Open

Edit Context: Screen Reader Users Feedback #229051

aiday-mar opened this issue Sep 19, 2024 · 2 comments
Assignees
Labels
accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues editor-edit-context

Comments

@aiday-mar
Copy link
Contributor

Pinging @jooyoungseo, @rperez030 and @meganrogge

Recently we have been working on adopting the EditContext API (https://developer.mozilla.org/en-US/docs/Web/API/EditContext_API) within VS Code. The EditContext is a new DOM property that can be set on DOM elements which decouples text input from the textual mutations of the DOM element. Essentially when the user focuses a DOM element on which an EditContext is set and types, the EditContext fires 'textupdate' events, and it is up to the user to mutate the DOM element with the changes from this event.

There are several reasons why we have adopted this API:

  • This API has allowed us to greatly simplify the code which handles text input events.
  • This API has allowed us to close numerous IME related bugs
  • This API can allow us to emit customized typing information from the input events

We have an experimental setting which enables the EditContext API with ID editor.experimentalEditContextEnabled. We would like to ask @jooyoungseo and @rperez030 if when you have time you could try the setting with a screen reader and let us know if you see any issues on typing in the various inputs of VS Code (could be the editor, the panel chat input, the SCM view, the quick input, ie any input that accepts text insertions). We would like to gather feedback from screen reader users before enabling this setting by default.

@aiday-mar aiday-mar self-assigned this Sep 19, 2024
@aiday-mar aiday-mar added accessibility Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues editor-edit-context labels Sep 19, 2024
@microsoft microsoft deleted a comment Sep 19, 2024
@microsoft microsoft deleted a comment Sep 19, 2024
@rperez030
Copy link
Contributor

rperez030 commented Sep 19, 2024 via email

@jooyoungseo
Copy link

jooyoungseo commented Sep 19, 2024 via email

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 editor-edit-context
Projects
None yet
Development

No branches or pull requests

3 participants