From dbff454c7273faa6f094dca74eba4cf8ce666901 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Fri, 4 Oct 2024 14:43:32 -0400 Subject: [PATCH] further clarification for aria-setsize add that aria-setsize/posinset should also calculate value as if the attributes were not set, if they were provided the empty string. clarify that aria-setsize should return indeterminate for any value set that is not a positive whole number --- core-aam/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core-aam/index.html b/core-aam/index.html index 10069877d..74c56450b 100644 --- a/core-aam/index.html +++ b/core-aam/index.html @@ -9859,8 +9859,7 @@

Group Position

specified by the author as either "0" or a negative number, [=user agents=] SHOULD use "1" instead.

- If the aria-setsize property is specified by the author as either "0" or a negative number, the author is - indicating the set is an indeterminate size. [=User agents=] MUST NOT calculate the set size of an indeterminate set. + If the aria-setsize property is specified by the author as any string value other than a positive whole number, the set is an indeterminate size. [=User agents=] MUST NOT calculate the set size of an indeterminate set.

If aria-level is not provided or inherited for an element of role @@ -9869,7 +9868,7 @@

Group Position

following the explicit or computed RELATION_NODE_CHILD_OF relations.

- If aria-posinset and aria-setsize are not provided, + If aria-posinset and aria-setsize are not provided, or are specified as the empty string, user agents MUST compute them as follows: