Is there a standard way to hint that a number should be read one character at a time?

What is the preferred way to handle long numbers, such as a bank account number that should be read one character at a time? I know that users can get TalkBack to read the number this way, but it would be nice if we could hint that he should do it from the very beginning.

Is it possible to establish a description of the contents with spaces between numbers or will users find this annoying?

Thanks!

+8
android accessibility talkback
source share
2 answers

I spoke with several users from the screen, and they all confirmed that we should not go away from our path to do something unusual in such cases. Everyone says, โ€œDonโ€™t worry, we can understand this. You donโ€™t need to help us.โ€

If the on-screen reader user gets to an area in which they need more clarity, they will use their arrow keys to go through the character until they are satisfied, and continue until the on-screen device continues.

+1
source share

Use the following delegate for your editText or textView

@Override public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(host, info); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { switch (host.getId()) { case R.id.tv_bookingID: if (((TextView) host).getText().length() > 1) { sb.delete(0, sb.length()); for (char c : ((TextView) host).getText().toString().toCharArray()) { sb.append(c).append(" "); } //change text for talkback info.setText(null); info.setContentDescription(sb.toString().trim()); } break; } }//if } 
0
source share

All Articles