-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Announce characters when navigating on a line using arrow keys or deleting characters #3542
Comments
This is a lot more complicated that you might expect since we can't access native a11y apis. The way the announcing works in the web is by synchronizing the textarea with the prompt, but we can't reliably know what the prompt is without additional smarts. Right now the fix here will likely involve shell integration (most of which probably won't live in xterm.js) and I've been tracking it in microsoft/vscode#133084 |
That's a good point I hadn't considered, but I do think that these a11y features are important for screen reader users. Integrators with xterm could more easily implement these a11y features without requiring xterm to implement them directly if xterm had hooks for these events. In Google Cloud Shell, we listen to If xterm were to expose hooks for things like this, integrators could simply announce those characters if they so choose. What I'm proposing is two interfaces added to the
Let me know if this sounds at all reasonable |
@pattch I think you can handle that today by recording the latest keystroke via FYI the plan is to look into microsoft/vscode#133084 in December I believe. |
This now works in VS Code microsoft/vscode#186904 |
Details
Steps to reproduce
screenReaderMode
set totrue
The text was updated successfully, but these errors were encountered: