Skip to content

Commit

Permalink
Fix #559: require focus movement on scrolling to a fragment ID
Browse files Browse the repository at this point in the history
This makes "scroll to the fragment identifier" require moving the
sequential focus navigation starting point, instead of letting that be
optional.

An example of this in action is clicking on a link in a table of
contents; what happens after doing so, and then pressing TAB?
Previously user agents were allowed to jump back to the list of links
in the table of contents, instead of starting the tab navigation from
the target of the link.

PR: #726
  • Loading branch information
takenspc authored and domenic committed Feb 24, 2016
1 parent 18b243a commit 414bee7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -80774,8 +80774,7 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
<li><p>Run the <span>focusing steps</span> for that element, with the <code>Document</code>'s
viewport as the <i>fallback target</i>.</p></li>

<li><p>Optionally, move the <span>sequential focus navigation starting point</span> to
<var>target</var>.</p>
<li><p>Move the <span>sequential focus navigation starting point</span> to <var>target</var>.</p>

</ol>

Expand Down

0 comments on commit 414bee7

Please sign in to comment.