E-mail List Archives
Re: Hint for buttons on android
From: joe
Date: May 4, 2020 6:40AM
- Next message: Marissa Sapega: "Re: New free webinar on digital accessibility legal risks from The Paciello Group"
- Previous message: Birkir R. Gunnarsson: "Re: Hint for buttons on android"
- Next message in Thread: None
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Hint for buttons on android"
- View all messages in this Thread
Hi Birkir,
https://blog.novoda.com/customising-usage-hints-for-android-talkback/
https://overflow.buffer.com/2018/09/05/announce-actions/
Above are some examples of how to do this as I have never created this functionality in an app myself with this technique.
To Ajay about your comment
Although it is not possible to change the "Double tap to" string but it could be made more contextual by changing the action e.g. "Double tap to like":
You cannot change the "Double tap to" because ViewCompat is changing the "click" and "LongClick" actions which always require a double tap gesture with TalkBack.
If you look at the second link, their "LongClick" action pulls up a menu of new options that are accessible to non-TalkBack users through a "tap and drag left/right" gesture
If you are using a custom gesture that is not a "Click" or "LongClick", you will have to create a custom AccessibilityEvent tracking that gesture and providing feedback to Android that can be passed to TalkBack. Creating this level of custom control is beyond my current knowledge.
Ref: https://developer.android.com/guide/topics/ui/accessibility/custom-views
Thankx,
Joe Humbert
Accessibility Champion
Android & iOS Accessibility Novice
- Next message: Marissa Sapega: "Re: New free webinar on digital accessibility legal risks from The Paciello Group"
- Previous message: Birkir R. Gunnarsson: "Re: Hint for buttons on android"
- Next message in Thread: None
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Hint for buttons on android"
- View all messages in this Thread