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 all commits
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
6 changes: 6 additions & 0 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -2269,6 +2269,12 @@ <h4>WAI-ARIA Roles, States, and Properties</h4>
Otherwise, the spinbutton element has a label provided by
<a href="#aria-label" class="property-reference">aria-label</a>.
</li>
<li>
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>
</section>
Expand Down