Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spinbutton Pattern: Add aria-invalid guidance for values outside allowed range #825

Merged
merged 2 commits into from
Aug 29, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Spinbutton Pattern: Revise aria-invalid guidance
For issue #704, per feedback from @0ddfell0w, changed wording of guidance.
  • Loading branch information
mcking65 committed Aug 7, 2018
commit 02bb24fb20b389c477ea108144b4d7414d5af92f
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