From d067b5d7f5835f87299d9f611bf432fdf29768f7 Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Wed, 10 Apr 2019 19:49:55 -0700 Subject: [PATCH 1/6] Move some properties from "required" to "supported" on slider role Addresses #860 --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index dfe22b6bf..6e34a40f5 100644 --- a/index.html +++ b/index.html @@ -6976,8 +6976,6 @@
Presentational Roles Conflict Resolution
Required States and Properties: @@ -6988,6 +6986,8 @@
Presentational Roles Conflict Resolution
From 5b5d8dcc9187aea6a2376542d1dea6cc43f05e48 Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Wed, 24 Apr 2019 21:24:17 -0700 Subject: [PATCH 2/6] Reword slider role prose to reflect that aria-valuemin, valuemax are now supported, not required --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 6e34a40f5..9734fdd44 100644 --- a/index.html +++ b/index.html @@ -6922,10 +6922,13 @@
Presentational Roles Conflict Resolution

A user 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.
  • +
+

Authors MUST set the aria-valuenow attribute. If missing, the repair techniques follow the same rules as the HTML range input type:

+
  • 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.
  • From 72d4ff0ba8bac7ffad47295fc3969aada4d30800 Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Wed, 22 May 2019 19:03:19 -0700 Subject: [PATCH 3/6] Remove aria-valuenow repair techniques from inline in the slider role --- index.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 9734fdd44..4782b4efe 100644 --- a/index.html +++ b/index.html @@ -6920,19 +6920,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 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.
    -

    Authors MUST set the aria-valuenow attribute. If missing, the repair techniques follow the same rules as the HTML range input type:

    -
      -
    • 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.

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

    @@ -7023,8 +7018,7 @@
    Presentational Roles Conflict Resolution
    From 0d9de74c9cc918ee2c5ff58501d1be23854bcfc6 Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Wed, 22 May 2019 19:19:52 -0700 Subject: [PATCH 4/6] Make fallback table more robust for aria-valuenow on slider role --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 4782b4efe..9c15a7ce6 100644 --- a/index.html +++ b/index.html @@ -12119,7 +12119,7 @@

    States and Properties

    - + From c40c3f883b65ffc38c182b1decebabfbb7134d16 Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Wed, 22 May 2019 20:31:13 -0700 Subject: [PATCH 5/6] Add pointer to the fallback table from slider role --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 9c15a7ce6..3d52c90e5 100644 --- a/index.html +++ b/index.html @@ -6927,7 +6927,7 @@
    Presentational Roles Conflict Resolution
  • 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.
  • -

    Authors MUST set the aria-valuenow attribute.

    +

    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.

    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.
    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
    From 484e344d1ff6711fdfa78a1c558c2f42b869655b Mon Sep 17 00:00:00 2001 From: Melanie Richards Date: Thu, 30 May 2019 07:56:31 -0700 Subject: [PATCH 6/6] Remove supported but not required attrs on slider from the author error handling table --- index.html | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/index.html b/index.html index 3d52c90e5..9f11698ea 100644 --- a/index.html +++ b/index.html @@ -12106,16 +12106,6 @@

    States and Properties

    - - - - - - - - - -
    aria-valuenow (aria-valuemax - aria-valuemin) / 2
    slideraria-valuemax100
    slideraria-valuemin0
    slider aria-valuenow