Skip to content

Commit

Permalink
[Fix #333] Fix broken links to nav-index, which was dropped from css3-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Oct 1, 2015
1 parent 6f4a057 commit 36b5d1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions spec/shadow/autolink-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ var autolinkConfig = {
'object element': '#the-object-element',
'progress element': '#the-progress-element',
'reflect': '#reflect',
'sequential focus navigation': '#sequential-focus-navigation',
'sequential focus navigation order': '#sequential-focus-navigation-order',
'style': '#the-style-attribute',
'tabindex': '#attr-tabindex',
'textarea element': '#the-textarea-element',
'transparent': '#transparent',
'tree accessors': '#dom-tree-accessors',
Expand Down Expand Up @@ -136,10 +139,7 @@ var autolinkConfig = {
},

'http://www.w3.org/TR/css3-ui/': {
'directional focus navigation': '#nav-dir',
'nav-index auto': '#nav-index',
'navigation order': '#keyboard',
'sequential focus navigation': '#keyboard'
'directional focus navigation': '#nav-dir'
},

'http://www.w3.org/TR/css3-cascade/': {
Expand Down
10 changes: 5 additions & 5 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1030,21 +1030,21 @@ <h3>Ranges and Selections</h3>
<section>
<h3>Focus Navigation</h3>

<p>If a <a>node</a> doesn’t <a data-lt="participates">participate</a> in the <a>composed tree</a>, the <a>node</a> <strong>must</strong> be skipped from the <a>navigation order</a> [[!CSS3UI]] sequence.</p>
<p>If a <a>node</a> doesn’t <a data-lt="participates">participate</a> in the <a>document composed tree</a>, the <a>node</a> <strong>must</strong> be skipped from the <a>sequential focus navigation</a>.</p>

<p>For <a>sequential focus navigation</a>, the <a>navigation order</a> sequence for a given <a>shadow tree</a> <var>A</var> <strong>must</strong> be inserted into the <a>navigation order</a> for the <a>parent tree</a> <var>B</var> as follow:</p>
<p>The <a>sequential focus navigation order</a> for a given <a>shadow tree</a> <var>A</var> <strong>must</strong> be inserted into the <a>sequential focus navigation order</a> for the <a>parent tree</a> <var>B</var> as follows:</p>
<ol>
<li>Let <var>HOST</var> be the <a>shadow host</a> which <a>hosts</a> A</li>
<li>
The <a>navigation order</a> for A <strong>must</strong> be inserted into the <a>navigation order</a> for <var>B</var>:
The <a>sequential focus navigation order</a> for A <strong>must</strong> be inserted into the <a>sequential focus navigation order</a> for <var>B</var>:
<ol>
<li>immediately after <var>HOST</var>, if <var>HOST</var> is <a>focusable</a>; or</li>
<li>in place of the <var>HOST</var> as if <var>HOST</var> were assigned the value of <a data-lt="nav-index auto"><code>auto</code></a> for determining its position.</li>
<li>in place of the <var>HOST</var> as if <var>HOST</var> were assigned the <a>tabindex</a> value 0 for determining its position.</li>
</ol>
</li>
</ol>

<p>For <a>directional focus navigation</a>, it is up to the user agent to integrate the <a data-lt="navigation order">navigation orders</a> for <a data-lt="shadow tree">shadow trees</a> into the <a>document</a> <a>navigation order</a>.</p>
<p>For <a>directional focus navigation</a> [[!CSS3-UI]], it is up to the user agent to integrate the <a data-lt="shadow tree">shadow trees</a> into the document's <a>directional focus navigation</a>.
</section>

<section>
Expand Down

0 comments on commit 36b5d1f

Please sign in to comment.