<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - In Voice over, activating a fragment URL should transfer focus and caret to the destination"
   href="https://bugs.webkit.org/show_bug.cgi?id=116046#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - In Voice over, activating a fragment URL should transfer focus and caret to the destination"
   href="https://bugs.webkit.org/show_bug.cgi?id=116046">bug 116046</a>
              from <span class="vcard"><a class="email" href="mailto:n_wang&#64;apple.com" title="Nan Wang &lt;n_wang&#64;apple.com&gt;"> <span class="fn">Nan Wang</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=116046#c20">comment #20</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=275781&amp;action=diff" name="attach_275781" title="patch">attachment 275781</a> <a href="attachment.cgi?id=275781&amp;action=edit" title="patch">[details]</a></span>
&gt; patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=275781&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=275781&amp;action=review</a>
&gt; 
&gt; &gt;&gt; Source/WebCore/dom/Document.cpp:693
&gt; &gt;&gt; +        m_focusNavigationStartingPoint = nullptr;
&gt; &gt; 
&gt; &gt; I'd call this focusNavigationStartingNode instead since &quot;point&quot; usually refers to either a graphical coordinate
&gt; &gt; or a single point in DOM tree (e.g. Position / VisiblePosition).
&gt; 
&gt; On my second look, this is really
&gt; <a href="https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus">https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus</a>-
&gt; navigation-starting-point
&gt; so we should call it exactly that: sequentialFocusNavigationStartingPoint
&gt; with that URL in a comment.
&gt; 
&gt; &gt;&gt;&gt; Source/WebCore/dom/Document.h:1479
&gt; &gt;&gt;&gt; +    RefPtr&lt;Range&gt; m_focusNavigationStartingPoint;
&gt; &gt;&gt; 
&gt; &gt;&gt; Why are we using Range for this?
&gt; &gt; 
&gt; &gt; I'm using Range so that we can tell if the node has been removed from document tree and easily pick the next node. Is there a way to tell if a node has been removed or is no longer valid?
&gt; 
&gt; Is that really necessary?  Where in the HTML spec does it say that we need
&gt; to use the next node in such a case?</span >

I'm following this spec <a href="https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus-navigation-starting-point">https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus-navigation-starting-point</a>
I think it's reasonable to have some fallback node in case the starting node is removed. We don't want to jump to the top of document, right?</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>