From 1bde3e14dc1760a73b84d1e8eaf43b0d1a1007cc Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Fri, 3 Apr 2020 19:54:46 -0400 Subject: [PATCH] revise meter authoring advice (#1129) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * to have similar authoring expectations to HTML’s meter element, the authoring advice for the meter role is updated to remove the requirement for aria-valuemin and max, and instead indicate these attributes should have implicit defult values, similar to progressbar. * removes aria-valuemax and min from the required states and properties row of the characteristics table, and moves them to an Implicit Value for Role row. * Adds meter’s required aria-valuenow to the Fallback values for missing required attributes table Co-authored-by: Carolyn MacLeod --- index.html | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 499e4527c..f502d6922 100644 --- a/index.html +++ b/index.html @@ -4550,9 +4550,14 @@

Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula

meter

An element that represents a scalar measurement within a known range, or a fractional value. See related progressbar.

-

Authors MUST NOT use the meter role to represent a value whose minimum and maximum values are unknown. In addition, authors MUST use aria-valuemin and aria-valuemax to make the minimum and maximum values available to assistive technologies.

+

Authors MAY set aria-valuemin and aria-valuemax to indicate the minimum and maximum values for the meter. Otherwise, their implicit values follow the same rules as <input[type="range"]> in [[HTML]]:

+
    +
  • If aria-valuemin is missing or not a number, it defaults to 0 (zero).
  • +
  • If aria-valuemax is missing or not a number, it defaults to 100.
  • +
+

The value of aria-valuenow MUST NOT fall below or exceed the computed values of aria-valuemin and aria-valuemax, respectively.

Authors SHOULD NOT use the meter role to indicate progress; the progressbar role exists to address that need.

-

At the present time, there are no WAI-ARIA properties corresponding to the low, optimum, and high attributes supported on the <meter> element in [[HTML]]. The addition of these properties will be considered for ARIA version 1.3.

+

Presently, there are no WAI-ARIA properties corresponding to the low, optimum, and high attributes supported on the <meter> element in [[HTML]]. The addition of these properties will be considered for ARIA version 1.3.

@@ -4593,13 +4598,7 @@

Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula

- + @@ -4629,6 +4628,13 @@

Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula

+ + + +
Characteristics:
Required States and Properties: -
    -
  • aria-valuemax
  • -
  • aria-valuemin
  • -
  • aria-valuenow
  • -
-
aria-valuenow
Supported States and Properties: Inherits Presentational:  
Implicit Value for Role: + Default for aria-valuemin is 0.
+ Default for aria-valuemax is 100. +
@@ -12461,6 +12467,11 @@

States and Properties

aria-valuenow 0 + + meter + aria-valuenow + A value matching the implicit or explicitly set aria-valuemin. +

Implicit Values for non-required states and properties appear in the characteristics table for each role. These are not considered fallback values so are not included here.