<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>168957</bug_id>
          
          <creation_ts>2017-02-27 18:19:33 -0800</creation_ts>
          <short_desc>AX: VoiceOver selects incorrect range in contenteditable divs</short_desc>
          <delta_ts>2017-07-31 06:45:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>174856</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James Craig">jcraig</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jalkut</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1281668</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2017-02-27 18:19:33 -0800</bug_when>
    <thetext>AX: VoiceOver selects incorrect range in contenteditable divs

Daniel Jalkut reports that in the attached test case, VoiceOver selects a portion of a word: &quot;hird&quot; or &quot;Thir&quot; instead of the whole word &quot;Third&quot;

1. Load test case.
2. Navigate to the contenteditable element and interact (VO+Shift+Down)
3. Navigate by word (VO+Right)

VO cursor seems to be selecting an off-by-one text range on some words.

Reproducible in nightlies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1281670</commentid>
    <comment_count>1</comment_count>
      <attachid>302907</attachid>
    <who name="James Craig">jcraig</who>
    <bug_when>2017-02-27 18:20:44 -0800</bug_when>
    <thetext>Created attachment 302907
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1281671</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-02-27 18:21:08 -0800</bug_when>
    <thetext>&lt;rdar://problem/30748501&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1333350</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2017-07-30 17:19:17 -0700</bug_when>
    <thetext>This is supposed to be resolved with http://trac.webkit.org/changeset/219949 re: bug 174856

*** This bug has been marked as a duplicate of bug 174856 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1333414</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2017-07-31 06:45:28 -0700</bug_when>
    <thetext>Thanks! I confirmed the fix in Revision 220056 WebKit nightly. My VoiceOver using customers will appreciate this when it makes its way to a macOS release.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>302907</attachid>
            <date>2017-02-27 18:20:44 -0800</date>
            <delta_ts>2017-02-27 18:20:44 -0800</delta_ts>
            <desc>test case</desc>
            <filename>wk168957.html</filename>
            <type>text/html</type>
            <size>303</size>
            <attacher name="James Craig">jcraig</attacher>
            
              <data encoding="base64">VHJ5IGludGVyYWN0aW5nIHdpdGggdGhlIGZvbGxvd2luZyBlZGl0YWJsZSBibG9jay4gRm9yIGV4
YW1wbGUsIGludGVyYWN0IHdpdGggdGhlIHRoaXJkIHBhcmFncmFwaCwgYWRkIHNvbWUgdGV4dCwg
cHJlc3MgcmV0dXJuLiBUaGVuIHVzZSBWTy11cC1hcnJvdyBhbmQgZG93biBhcnJvdyB0byBuYXZp
Z2F0ZSB0aGUgZW50aXJlIGFyZWE6Cgo8ZGl2IGNvbnRlbnRlZGl0YWJsZT0idHJ1ZSI+CjxwPkZp
cnN0IHBhcmFncmFwaC48L3A+CjxwPlNlY29uZCBwYXJhZ3JhcGguPC9wPgo8cD5UaGlyZCBwYXJh
Z3JhcGguPC9wPgo8L2Rpdj4K
</data>

          </attachment>
      

    </bug>

</bugzilla>