Im using Appcelerator for Android app,
After I set the accessibilityHint property, the Talkback completes saying this string, pauses and always says "Double tap to activate, double tap and hold for long press". How do i disable this? Tried with accessibilityLabel or accessibilityValue but no luck.
In .xml file
<Label id='lblAppName' />
In .tss file
"#lblAppName":{
accessibilityHint: 'Double tap here to activate me',
text: L('app_name'),
top:Alloy.Globals.sizes10,
left:Alloy.Globals.sizes58,
right:Alloy.Globals.sizes57
}
TalkBack announces this because it is detecting your control as something that can be interacted with. EX: a button. Given your markup, in particular your "accessibilityHint" which I assume is an Appcelerator property, it would appear that your control is indeed a button of some kind. Why would you want to disable this helpful announcement?
My answer would be to remove your hint, and let the Android OS deal with this button the way it wants to. Your hint is no more helpful than TalkBack's "hint", and it is best to let the Assistive Technology share role and instructional information when possible.
The only way to get TalkBack to NOT announce this is to make your control non-interactive. If TalkBack detects that a control can be interacted with (clicked) it will announce these instructions, there's nothing you can, nor should do about that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With