From 1985db496e7ffa884884458de078987dd0ce96e3 Mon Sep 17 00:00:00 2001 From: Matt King <a11yThinker@gmail.com> Date: Mon, 6 Jul 2020 23:55:09 -0700 Subject: [PATCH] Clarify usage of min, max, and now per feedback from @jongund --- aria-practices.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/aria-practices.html b/aria-practices.html index c83e50ebce..a9c08c390f 100644 --- a/aria-practices.html +++ b/aria-practices.html @@ -6479,13 +6479,12 @@ <h3>Using <code>aria-valuemin</code>, <code>aria-valuemax</code> and <code>aria- When the value of a range widget is constrained to known limits, the <code>aria-valuemin</code> and <code>aria-valuemax</code> properties are used to inform assistive technologies of the minimum and maximum values of the range. For some widgets, assistive technologies use this information to present the current value as a percentage. When using these properties, set <code>aria-valuemin</code> to the lowest value allowed for the widget and <code>aria-valuemax</code> to the highest allowed value. - If a range widget represents a value that does not have known limits, omit both <code>aria-valuemin</code> and <code>aria-valuemax</code>. + If values for <code>aria-valuemin</code> and <code>aria-valuemax</code> are not set, default values are exposed to assistive technologies unless the widget is a <code>spinbutton</code>, which is the only range widget that does not have default limits. </p> <p> The <code>aria-valuenow</code> property is used to inform assistive technologies of the current value of a range widget. - If a range widget has a known value, set <code>aria-valuenow</code> to that value. - Otherwise, omit the <code>aria-valuenow</code> property. - If <code>aria-valuemin</code> and <code>aria-valuemax</code> are specified, ensure the value of <code>aria-valuenow</code> falls within the defined range. + Set <code>aria-valuenow</code> to the current value of the widget, ensuring the value of <code>aria-valuenow</code> falls within the range defined by <code>aria-valuemin</code> and <code>aria-valuemax</code>. + If the current value of a <code>progressbar</code> or <code>spinbutton</code> is indeterminate or unknown, omit The <code>aria-valuenow</code> property. The <code>aria-valuenow</code> property is required for the <code>meter</code>, <code>scrollbar</code>, <code>separator</code> (if the element is focusable), and <code>slider</code> roles. </p> <p>