-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Make terminal accessibility buffer read only #172006
Comments
@jooyoungseo, did you notice that when you toggle the mode it comes back as the original? so while it seems like editing of the buffer is possible, it's not actually making any changes. |
@meganrogge -- You are correct. If you press tab and come back to the buffer via Shift+Tab, it comes back to the original content. However, the content is editable when it gets focused. |
Not sure if it's possible to change this, but will investigate |
Looks like this is easy to do - just disabling |
@meganrogge -- To give you prompt testing results, I have just built the latest main branch on my end (this issue will also be found tomorrow once insider is released). I have found the following inadvertent regression (tested with NVDA and JAWS on Windows):
Note that aria-live is now working! |
@jooyoungseo I have already caught that regression, you can build based on this PR to see that I've fixed it 😄 #172276 |
i'll investigate:
when I investigate #172200 |
@meganrogge As of today's insider build (Commit: 07d6f5b), it appears that the accessibility buffer can still be modified accidentally. Additionally, if the buffer has been altered, tabbing to the shell and then shift-tabbing back does not restore the buffer to its previous state, as it did in previous versions. Furthermore, if the buffer has been modified, subsequent command output will not be reflected in the buffer. |
@pawin35 see #172276 (comment) for why we didn't go with readonly. the actual buffer is never modified - the text area element is. focusing the terminal buffer via mouse click for example and shift+tabbing again will restore the contents to what they were before. |
@meganrogge Is there a way to reset the state of the buffer without using the mouse? As of the version on the main branch, I am unable to reset the buffer by tabbing and shift-tabbing back to it. |
Just hitting tab works for me @pawin35 |
@jooyoungseo Can you get the buffer to reset after tabbing into it after modifying the buffer? |
@pawin35 -- I can reproduce your issue. Please file a separate issue and provide minimal reproducible steps so that @meganrogge can fully replicate this issue. |
@meganrogge @jooyoungseo I have created the issue at #172714. |
Terminal a11y buffer is not read-only.
Since this is contenteditable textbox, unintended delete key can mess up the output content. I confirmed that delete key works inside the buffer.
It would be even nicer if this buffer could be marked up with readonly to prevent users from accidentally deleting their output content.
#171914 (comment)
The text was updated successfully, but these errors were encountered: