Skip to content

Commit

Permalink
Remove aria-valuenow repair techniques from inline in the slider role
Browse files Browse the repository at this point in the history
  • Loading branch information
melanierichards committed May 23, 2019
1 parent 5b5d8dc commit 72d4ff0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6920,19 +6920,14 @@ <h5>Presentational Roles Conflict Resolution</h5>
<div class="role" id="slider">
<rdef>slider</rdef>
<div class="role-description">
<p>A user input where the user selects a value from within a given range.</p>
<p>An input where the user selects a value from within a given range.</p>
<p>A slider represents the current value and range of possible values via the size of the slider and position of the thumb. It is typically possible to add or subtract to the value by using directional keys such as arrow keys.</p>
<p>Authors MAY set the <pref>aria-valuemin</pref> and <pref>aria-valuemax</pref> attributes. Otherwise, their implicit values follow the same rules as the <a href="https://www.w3.org/TR/html5/forms.html#range-state-%28type=range%29" title="Range state">HTML range input type</a>:</p>
<ul>
<li>If <code>aria-valuemin</code> is missing or not a <a href="#valuetype_number">number</a>, it defaults to 0 (zero). </li>
<li>If <code>aria-valuemax</code> is missing or not a <a href="#valuetype_number">number</a>, it defaults to 100. </li>
</ul>
<p>Authors MUST set the <pref>aria-valuenow</pref> attribute. If missing, the repair techniques follow the same rules as the <a href="https://www.w3.org/TR/html5/forms.html#range-state-%28type=range%29" title="Range state">HTML range input type</a>:</p>
<ul>
<li>If <code>aria-valuenow</code> is missing or not a <a href="#valuetype_number">number</a>, it defaults to the value half way between <code>aria-valuemin</code> and <code>aria-valuemax</code>. </li>
<li>If <code>aria-valuenow</code> is present but less than <code>aria-valuemin</code>, it defaults to the value of <code>aria-valuemin</code>. </li>
<li>If <code>aria-valuenow</code> is present but greater than <code>aria-valuemax</code>, it defaults to the value of <code>aria-valuemax</code>. </li>
</ul>
<p>Authors MUST set the <pref>aria-valuenow</pref> attribute.</p>
<p>Elements with the role <code>slider</code> have an implicit <pref>aria-orientation</pref> value of <code>horizontal</code>.</p>
</div>
<table class="role-features">
Expand Down Expand Up @@ -7023,8 +7018,7 @@ <h5>Presentational Roles Conflict Resolution</h5>
<td class="implicit-values">
Default for <pref>aria-orientation</pref> is <code class="default">horizontal</code>. <br/>
Default for <pref>aria-valuemin</pref> is <code class="default">0</code>. <br/>
Default for <pref>aria-valuemax</pref> is <code class="default">100</code>. <br/>
Default for <pref>aria-valuenow</pref> is half way between <code class="default">aria-valuemax</code> and <code class="default">aria-valuemin</code>.
Default for <pref>aria-valuemax</pref> is <code class="default">100</code>.
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 72d4ff0

Please sign in to comment.