Set key classname for accessibility

This commit is contained in:
Aleksandras Kostarevas 2024-06-01 17:21:53 +03:00
parent 009a60b141
commit a3ef83532b

View File

@ -155,6 +155,8 @@ public class KeyboardAccessibilityDelegate<KV extends KeyboardView>
Key k = getKeyOf(virtualViewId);
if(k == null) return;
node.setClassName(android.inputmethodservice.Keyboard.Key.class.getName());
String description = getKeyDescription(k);
node.setContentDescription(description);