From 2934b1168231e238d5edc3ba36ea3a2a8206403a Mon Sep 17 00:00:00 2001 From: Matt King Date: Mon, 6 Aug 2018 12:48:33 -0700 Subject: [PATCH] Sppinbutton Pattern: Add aria-invalid guidance for values outside allowed range In response to issue #704, modified the roles, states, and properties section of the spinbutton pattern in aria-practices.html. Added a bullet to the list of roles, states, and properties stating that aria-invalid is set true if it is possible for the textbox to contain a value that is not allowed. --- aria-practices.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aria-practices.html b/aria-practices.html index cfba20928a..6812960892 100644 --- a/aria-practices.html +++ b/aria-practices.html @@ -2269,6 +2269,10 @@

WAI-ARIA Roles, States, and Properties

Otherwise, the spinbutton element has a label provided by aria-label. +
  • + 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 + aria-invalid set to true. +