Open Bug 1901172 Opened 11 months ago

Use BOUNDARY_CLUSTER on Android

Categories

(Core :: Disability Access APIs, defect)

ARM64
Android
defect

Tracking

()

People

(Reporter: Jamie, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 855184, I added BOUNDARY_CLUSTER to allow retrieval of text by grapheme cluster, AKA user-perceived character. This is generally what users want when navigating by character. With BOUNDARY_CHARACTER, we retrieve individual UTF-16 code points. This means, for example, that moving by character to navigate to a compound emoji such as 🤦‍♂️ in a text box won't correctly report the full emoji.

We should use BOUNDARY_CLUSTER for characters on Android. This is probably simply a matter of changing both instances of BOUNDARY_CHAR in android/AccessibleWrap.cpp to BOUNDARY_CLUSTER. Of course, this needs testing with Talkback to ensure it works as expected.

You need to log in before you can comment on or make changes to this bug.