Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Fixes #65
  • Loading branch information
JAWS-test committed Nov 6, 2019
1 parent d30df64 commit bd88160
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,9 @@ <h4>Terminology</h4>
</ul>
<div><details>
<summary>Example:</summary>
<p>Consider a <a class="role-reference" href="#checkbox">check box</a> label that contains a text input field: "Flash the screen [input] times". If the user has entered "5" for the embedded <a class="role-reference" href="#textbox">textbox</a>, the complete label is "Flash the screen 5 times", e.g.: </p>
<pre class="example highlight"><code>&lt;div role="checkbox" aria-checked="false"&gt;Flash the screen &lt;span role="textbox" aria-multiline="false"&gt; 5 &lt;/span&gt; times&lt;/div&gt;</code></pre>
<p>Consider a label of a check box that contains a text input field: "Flash the screen [input] times". If the input field has the value "5", the complete label is "Flash the screen 5 times", e.g.: </p>
<pre class="example highlight"><code>&lt;input type="checkbox" aria-labelledby="label"&gt;
&lt;label id="label"&gt;Flash the screen &lt;input type="text" value="5"&gt; times&lt;/label&gt;</code></pre>
</details></div>
</li>
<li id="step2F">Otherwise, if the <code>current node's</code> <a class="termref">role</a> allows <a class="specref" href="#namefromcontent">name from content</a>, or if the <code>current node</code> is referenced by <code>aria-labelledby</code>, <code>aria-describedby</code>, or is a native host language text alternative <a class="termref">element</a> (e.g. <code>label</code> in HTML), or is a descendant of a native host language text alternative <a class="termref">element</a>:
Expand Down

0 comments on commit bd88160

Please sign in to comment.