Skip to content

Commit

Permalink
Fix broken aria-valuetext spec link (mdn#4917)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-c authored May 12, 2021
1 parent 4195668 commit d3c3b57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Accessibility
- Attribute
---
<p><span class="seoSummary">The <a href="https://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext" rel="external">aria-valuetext</a> attribute is used to define the human readable text alternative of <a class="property-reference" href="/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-valuenow_attribute"><code>aria-valuenow</code></a> for a range widget such as progressbar, spinbutton or slider.</span></p>
<p><span class="seoSummary">The <a href="https://www.w3.org/TR/wai-aria/#aria-valuetext" rel="external">aria-valuetext</a> attribute is used to define the human readable text alternative of <a class="property-reference" href="/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-valuenow_attribute"><code>aria-valuenow</code></a> for a range widget such as progressbar, spinbutton or slider.</span></p>

<p>Authors<strong class="rfc2119"> SHOULD</strong> only set the <code>aria-valuetext</code> attribute when the rendered value cannot be accurately represented as a number. For example, a slider may have rendered values of <code>small</code>, <code>medium</code>, and <code>large</code>. In this case, the values of <a href="/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-valuenow_attribute"><code>aria-valuenow</code></a> could range from 1 through 3, which indicate the position of each value in the value space, but the<code>aria-valuetext</code> would be one of the strings: <code>small</code>, <code>medium</code>, or <code>large</code>.</p>

Expand Down

0 comments on commit d3c3b57

Please sign in to comment.