Set hint for some UI elements

In the ttyd UI, the edit box (cursor) is the only elements that supports
action. However, it's too tiny, so users may find it difficult to set
the a11y focus on it using explore-by-touch. Even with gestures (swipe
next/prev), the cursor is hard to reach because it's located in the very
end of the traversal order; user has to go through 30-40 elements each
of which is for a line in the terminal.

To fix this issue, ttyd seems to have implemented a feature that double
tapping anywhere in the terminal UI screen activates the edit box
directly.

This however may confuse accessibility users because, they didn't hear
that double tapping action is provided. This is b/376827536.

We tried hard to fix this issue correctly; by adding ACTION_CLICK to the
other UI elements, and many more attempts, but all failed. For example,
adding ACTION_CLICK made talkback to announce "double-tap to activate",
but actually double-tapping the screen didn't lead user to the cursor.
This is probably because the click action is consumed by the other UI
elements, not the edit box.

To work around these limitations, this change uses hint text to let the
users know that double tapping will go to the cursor directly.

Bug: 376827536
Test: follow the instruction.
Change-Id: I57a3f3673209c10fdd5441229da6c0e2bf1a89dd
2 files changed
tree: b4bbe1e63c132b1ef9f493a3d49c503886f0ae76
  1. android/
  2. build/
  3. docs/
  4. guest/
  5. libs/
  6. microfuchsia/
  7. tests/
  8. .clang-format
  9. .gitignore
  10. Android.bp
  11. dice_for_avf_guest.cddl
  12. OWNERS
  13. PREUPLOAD.cfg
  14. README.md
  15. rustfmt.toml
  16. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.

Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.

If you want a quick start, see the getting started guideline and follow the steps there.

For in-depth explanations about individual topics and components, visit the following links.

AVF components:

AVF APIs:

How-Tos: