Skip to content

Commit

Permalink
change range property table and code comment type
Browse files Browse the repository at this point in the history
  • Loading branch information
a11ydoer committed Jun 2, 2020
1 parent b595495 commit e56c8b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -6517,7 +6517,7 @@ <h3>Using <code>aria-valuemin</code>, <code>aria-valuemax</code> and <code>aria-
<td>100</td>
<td>No</td>
<td>No</td>
<td>Yes, if known</td>
<td>No</td>
</tr>
<tr>
<th scope="row"><code>scrollbar</code></th>
Expand Down Expand Up @@ -6547,9 +6547,9 @@ <h3>Using <code>aria-valuemin</code>, <code>aria-valuemax</code> and <code>aria-
<th scope="row"><code>spinbutton</code></th>
<td>None</td>
<td>None</td>
<td>Yes, if known</td>
<td>Yes, if known</td>
<td>Yes, if known</td>
<td>No</td>
<td>No</td>
<td>No</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -6590,8 +6590,8 @@ <h3>Range properties with meter</h3>
<p>This example of a meter shows the current Central Processing Unit (CPU) usage. </p>

<pre><code>&lt;span id="cpu_usage_label">CPU usage&lt;/span>
&lt;!-- The CPU usage uses the default values of 0 and 100 for aria-valuemin and aria-valuemax --&gt;
&lt;div role="meter"
//The CPU usage uses the default values of 0 and 100 for aria-valuemin and aria-valuemax
aria-valuenow="90"
aria-labelledby="cpu_usage_label"&gt;
&lt;/div&gt;</code></pre>
Expand Down Expand Up @@ -6624,8 +6624,8 @@ <h3>Range properties with progress bars</h3>
</p>

<pre><code>&lt;div&gt;Loading:
&lt;!-- The progress bar uses the default values of 0 and 100 for aria-valuemin and aria-valuemax --&gt;
&lt;span role="progressbar"
//The progress bar uses the default values of 0 and 100 for aria-valuemin and aria-valuemax
aria-valuenow="33" &gt;
&lt;svg width="100" height="10"&gt;
&lt;rect x="0" y="0" height="10" width="100" stroke="black" fill="none"/&gt;
Expand Down Expand Up @@ -6664,10 +6664,10 @@ <h3>Range properties with scrollbars</h3>
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679
&lt;/div&gt;
&lt;div class="rail"&gt;
&lt;!-- The scrollbar uses the default values of 0 and 100 for aria-valuemin and aria-valuemax --&gt;
&lt;div
class="thumb"
role="scrollbar"
//The scrollbar uses the default values of 0 and 100 for aria-valuemin and aria-valuemax
aria-controls="pi"
aria-orientation="horizontal"
aria-valuenow="25"&gt;
Expand Down

0 comments on commit e56c8b5

Please sign in to comment.