From 57a4429a466dbf0018a55ea699f53464f6e3a93c Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Tue, 4 Jun 2019 14:10:25 -0400 Subject: [PATCH] Move some properties from "required" to "supported" on slider role (#946) Addresses #860 * Reword slider role prose to reflect that aria-valuemin, valuemax are now supported, not required * Remove aria-valuenow repair techniques from inline in the slider role * Make fallback table more robust for aria-valuenow on slider role * Add pointer to the fallback table from slider role * Remove supported but not required attrs on slider from the author error handling table --- index.html | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 692b55cb9..fb3d3b9e5 100644 --- a/index.html +++ b/index.html @@ -6509,16 +6509,14 @@
Presentational Roles Conflict Resolution
slider
-

A user input where the user selects a value from within a given range.

+

An input where the user selects a value from within a given range.

A slider represents the current value and range of possible values via the size of the slider and position of the thumb. It is typically possible to add or subtract to the value by using directional keys such as arrow keys.

-

Authors MUST set the aria-valuemin, aria-valuemax, and aria-valuenow attributes. If missing, their implicit values follow the same rules as the HTML range input type:

+

Authors MAY set the aria-valuemin and aria-valuemax attributes. Otherwise, their implicit values follow the same rules as the HTML range input type:

  • 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.
  • -
  • If aria-valuenow is missing or not a number, it defaults to the value half way between aria-valuemin and aria-valuemax.
  • -
  • If aria-valuenow is present but less than aria-valuemin, it defaults to the value of aria-valuemin.
  • -
  • If aria-valuenow is present but greater than aria-valuemax, it defaults to the value of aria-valuemax.
+

Authors MUST set the aria-valuenow attribute. If aria-valuenow is missing or has an unexpected value, browsers MAY implement the repair techniques specified in the section describing handling author errors in states and properties, which are equivalent to the repair techniques for the HTML range input type.

Elements with the role slider have an implicit aria-orientation value of horizontal.

@@ -6565,8 +6563,6 @@
Presentational Roles Conflict Resolution
@@ -6577,6 +6573,8 @@
Presentational Roles Conflict Resolution
@@ -6609,8 +6607,7 @@
Presentational Roles Conflict Resolution
@@ -11423,20 +11420,10 @@

States and Properties

- - - - - - - - - - - + @@ -11705,7 +11692,7 @@

Change Log

Substantive changes since the last public working draft

Required States and Properties:
    -
  • aria-valuemax
  • -
  • aria-valuemin
  • aria-valuenow
Default for aria-orientation is horizontal.
Default for aria-valuemin is 0.
- Default for aria-valuemax is 100.
- Default for aria-valuenow is half way between aria-valuemax and aria-valuemin. + Default for aria-valuemax is 100.
aria-valuenow (aria-valuemax - aria-valuemin) / 2
slideraria-valuemax100
slideraria-valuemin0
slider aria-valuenow(aria-valuemax - aria-valuemin) / 2If missing or not a number,(aria-valuemax - aria-valuemin) / 2. If present but less than aria-valuemin, the value of aria-valuemin. If present but greater than aria-valuemax, the value of aria-valuemax.
spinbutton