Айсулу (Альта)
Айсулу (Альта)
TTermux
Created by Айсулу (Альта) on 9/28/2024 in #support
Proposal for adding accessibility in Termux
--- The accessibility issue of Termux for TalkBack is very disappointing.
- I have programmed for Android and can suggest solutions:
1) Use EditText instead of View.
However, this method has a drawback, for example:
private CharSequence getText would need to be changed to public Editable getText.
2) Use AccessibilityEvent#TYPE_ANNOUNCEMENT (https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent#TYPE_ANNOUNCEMENT).
Using this method doesn't require you to be a genius; you just need to handle the KeyEvent.KEYCODE_DEL event (https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_DEL).
- We can simply announce the deleted text or character.
3) Add the ability to select text using the volume keys.
In general, Android screen readers work like this with EditText, but unfortunately, we have View instead 😦
We should also remember to announce the selected character.
4) How about adding descriptions for the states of the Ctrl, Alt, Caps, etc. keys? AccessibilityNodeInfo#setStateDescription (https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo#setStateDescription(java.lang.CharSequence)).
Simply set the state to on and off when pressed and off when the app starts. - I hope at least points 2 and 3 can be implemented by someone; overall, it would be sufficient.
I wish the project to flourish. --- Let me know if you need any further assistance!
3 replies
TTermux
Created by Айсулу (Альта) on 5/25/2024 in #support
clear CANNOT LINK EXECUTABLE "clear": library "
Hey, how fix this error? Help me please:( ~ $ proot -0 espeak "hello" CANNOT LINK EXECUTABLE "espeak": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/espeak-ng" is not accessible for the namespace "(default)" clear CANNOT LINK EXECUTABLE "clear": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/clear" is not accessible for the namespace "(default)" clear CANNOT LINK EXECUTABLE "clear": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/clear" is not accessible for the namespace "(default)" exit -sh: 7: exit: not found bash CANNOT LINK EXECUTABLE "bash": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/bash" is not accessible for the namespace "(default)" clear CANNOT LINK EXECUTABLE "clear": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/clear" is not accessible for the namespace "(default)" ls CANNOT LINK EXECUTABLE "ls": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/coreutils" is not accessible for the namespace "(default)" quit -sh: 11: quit: not found echo 0 0 chroot CANNOT LINK EXECUTABLE "chroot": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/data/data/com.termux/files/usr/bin/coreutils" is not accessible for the namespace "(default)" quit -sh: 15: quit: not found ^C ~ $
6 replies