Skip to content

Commit

Permalink
Spinbutton Pattern: Revise aria-invalid guidance
Browse files Browse the repository at this point in the history
For issue #704, per feedback from @0ddfell0w, changed wording of guidance.
  • Loading branch information
mcking65 committed Aug 7, 2018
1 parent 2934b11 commit 02bb24f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -2270,8 +2270,10 @@ <h4>WAI-ARIA Roles, States, and Properties</h4>
<a href="#aria-label" class="property-reference">aria-label</a>.
</li>
<li>
If it is possible to modify the value of the textbox such that the value is outside of the allowed set of values, the spinbutton element has
<a href="#aria-invalid" class="state-reference">aria-invalid</a> set to <code>true</code>.
The spinbutton element has
<a href="#aria-invalid" class="state-reference">aria-invalid</a> set to <code>true</code>
if the value is outside the allowed range.
Note that most implementations prevent input of invalid values, but in some scenarios, blocking all invalid input may not be practical.
</li>
</ul>
</section>
Expand Down

0 comments on commit 02bb24f

Please sign in to comment.