New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 917817 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Jan 16
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature
Team-Accessibility



Sign in to add a comment

[Internal]: WebView contentEditable does not support ACTION_SET_TEXT

Project Member Reported by chelamcherla@chromium.org, Dec 26

Issue description

Internal bug: https://b.corp.google.com/u/0/issues/113674363

Comment#0 :
===========

Additional History: b/37641670, b/37641965

This will happen on any Android device that support Accessibility Acitons with any recent version of WebView.

STEPS TO REPRODUCE:
1. Try to use AccessibilityNodeInfo.ACTION_SET_TEXT in the Gmail Compose message body.
2. Observe that the node does not support ACTION_SET_TEXT

As an editable text field, I would expect the ability to set the text within the field. The field appears to accept single character input from the IME, but not being able to set the text is limiting in terms of A11y features. Things like undo or smart text replacement become difficult since the text cannot be set.
                                                                                                  The set of actions it appears to support are: [ACTION_CLEAR_FOCUS, ACTION_CLICK, ACTION_ACCESSIBILITY_FOCUS, ACTION_NEXT_AT_MOVEMENT_GRANULARITY, ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY, ACTION_NEXT_HTML_ELEMENT, ACTION_PREVIOUS_HTML_ELEMENT, ACTION_COPY, ACTION_PASTE, ACTION_CUT, ACTION_SET_SELECTION, ACTION_UNKNOWN]

Previous fixes made Switch Access kind of work since input still comes from the IME, but lots of Switch Access's advanced text manipulation fails. Voice Access doesn't type via the IME which makes composing an email with it not possible through Gmail.

Comment#1:
==========

This should be the case for Chrome on Android too. WebView doesn't seem to do anything different, as far as I can see.

This issue is raised as a feature request, hence marking as Untriaged for further inputs from dev team.

Thanks!
 
Cc: -chelamcherla@chromium.org sindhu.chelamcherla@chromium.org dmazz...@chromium.org
Status: Available (was: Untriaged)
Marking as available, dmazzoni@ please assign this out. Thanks!
Labels: Needs-Investigation
Labels: -Needs-Investigation -M-73 -Target-73 -FoundIn-73
Status: Started (was: Available)
I think this is actually an easy fix, assuming you only expect it to set plaintext.

https://chromium-review.googlesource.com/c/chromium/src/+/1411292

Comment 5 by dmazz...@chromium.org, Jan 16 (6 days ago)

Status: Fixed (was: Started)

Sign in to add a comment