Accessibility support
The SecureKeypad in the SDK has TalkBack (Android) and VoiceOver (iOS) accessibility enabled for end user, by default. This page shows how to customize the button labels for a better user experience.
Enable accessibility support on a device
To enable TalkBack on an Android device, navigate to Settings > Accessibility > TalkBack > Enable Use TalkBack.
To enable VoiceOver on an iOS device, navigate to Settings > Accessibility > VoiceOver > Enable VoiceOver.
Customize labels for SecureKeypad
Customize the TalkBack or VoiceOver accessibility labels for the SecureKeypad buttons in your Android or iOS application.
The SDK automatically checks your app's localization first, then falls back to the SDK's default values if it is not found.
Note
No additional code is required in your app to enable this feature.
Tip
For the best user experience, keep the accessibility labels clear and concise.
To customize the TalkBack labels for the OK and Delete buttons, add a new string in your application's strings.xml with the following keys:
<string name="thales_sk_ok_button">localized string/custom string</string>
<string name="thales_sk_delete_button">localized string/custom string</string>
To customize the VoiceOver labels for the OK and Delete buttons, create a string file with the name Localizable.strings in your app's bundle with the following keys:
"thales-sk-confirm-button" = "localized string/custom string";
"thales-sk-delete-button" = "localized string/custom string";
Caution
TalkBack and Voiceover might pronounce non-standard characters or symbols in inconsistent or unexpected ways. Since pronunciation cannot be customized, test your app to identify any unclear or misleading output. If necessary, revise the label or hint text to improve clarity, or accept the behavior if it does not impact usability.