[Webkit-unassigned] [Bug 206093] New: AX: Unable to use AccessibilityObject::replaceTextInRange to insert text at first time when the text fields are empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 10 14:35:23 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206093

            Bug ID: 206093
           Summary: AX: Unable to use
                    AccessibilityObject::replaceTextInRange to insert text
                    at first time when the text fields are empty
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: canhai_chen at apple.com
                CC: webkit-bug-importer at group.apple.com

Created attachment 387374

  --> https://bugs.webkit.org/attachment.cgi?id=387374&action=review

sample html with text fields

Overview:

Unable to use AccessibilityObject::replaceTextInRange to insert text at first time when the text fields are empty. After the first try, text are able to be inserted. This can be reproduced on text <input>, <textarea> and editable <div>. If there are pretyped text in the text fields, the API works well.

Steps to Reproduce:

1) View any web page with text <input>, <textarea> and editable <div> (attached a text html with these elements).

2) Focus on an empty text field

3) Type (via AccessibilityObject::replaceTextInRange; in our case, we are trying to adopt this API to Braille typing).

Actual Results:

Nothing gets inserted at the first insertion. After that, we are able to insert the text.

Expected Results:

Text get inserted properly even when the text fields are empty.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200110/d4d6c1b5/attachment.htm>


More information about the webkit-unassigned mailing list