<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Speak Selection does not work in an iframe"
   href="https://bugs.webkit.org/show_bug.cgi?id=166794#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Speak Selection does not work in an iframe"
   href="https://bugs.webkit.org/show_bug.cgi?id=166794">bug 166794</a>
              from <span class="vcard"><a class="email" href="mailto:cfleizach&#64;apple.com" title="chris fleizach &lt;cfleizach&#64;apple.com&gt;"> <span class="fn">chris fleizach</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=299368&amp;action=diff" name="attach_299368" title="patch with test">attachment 299368</a> <a href="attachment.cgi?id=299368&amp;action=edit" title="patch with test">[details]</a></span>
patch with test

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=299368&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=299368&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/ChangeLog:8
&gt; +</span >

will this also handle the case of just text nodes highlighted (I ask because I don't know if focus moves to a frame if you just highlight text in that frame)

<span class="quote">&gt; Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:2333
&gt; +{</span >

can you put a comment here about who uses this

<span class="quote">&gt; Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:116
&gt; +    [webView accessibilityRetrieveSpeakSelectionContentWithCompletionHandler:^(void) {</span >

(void) probably not necessary to include

^{ probably will work

<span class="quote">&gt; LayoutTests/accessibility/ios-simulator/speak-selection-content.html:17
&gt; +&lt;input type=&quot;text&quot; id=&quot;myText&quot; value=&quot;Text outside iframe&quot;&gt;</span >

let's also test selecting text that's not inside a input type

<span class="quote">&gt; LayoutTests/platform/ios-simulator-wk1/TestExpectations:108
&gt; +# Not support on WK1</span >

Not supported</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>