From 86a589c6639a4c3b29d50c16379b66d9cdd9e689 Mon Sep 17 00:00:00 2001 From: MattGarrish Date: Tue, 25 Sep 2018 19:55:29 -0300 Subject: [PATCH 1/3] add recommendation to use preferred vocabulary for accessibility properties, update accessmodedsufficient to ItemList, fix accessmodesufficient example, and delete step to remove unrecognized values --- index.html | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index 3e1dadc..cbeed73 100644 --- a/index.html +++ b/index.html @@ -991,7 +991,10 @@

Accessibility

Infoset Requirements
-

TBD

+

Values SHOULD be drawn from the preferred + vocabulary for each accessibility property, but user agents MUST NOT omit values + from the infoset that are not included in the lists.

@@ -1026,7 +1029,7 @@
Manifest Expression
A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. - One or more texts, each a comma-separated list of terms. One or more ItemList. Expected values. @@ -1111,14 +1114,23 @@
Manifest Expression
href="#accessibility-report-manifest">Accessibility Report, beyond the accessibility information expressed by these properties.

-
+						
 {
     "@context" : ["https://schema.org","https://www.w3.org/ns/wp-context"],
     "type"     : "CreativeWork",
     …
     "accessibilityAPI"      : "ARIA",
     "accessMode"            : ["textual", "visual"],
-    "accessModeSufficient"  : ["textual"],
+    "accessModeSufficient"  : [
+        {
+            type="ItemList",
+            "itemListElement": ["textual", "visual"]
+        },
+        {
+            type="ItemList",
+            "itemListElement": ["textual"]
+        }
+    ],
     …
 }
 
@@ -2974,21 +2986,19 @@

Processing the manifest

algorithm.
  • Perform data cleanup operations on manifest, possibly removing data, as well as raising warnings.
      -
    1. Check whether the value of manifest["url"] is a valid URL [[!url]]. If - not, issue a warning.
    2. -
    3. For all the terms defined in , except for +
    4. Check whether the value of manifest["url"] is a valid URL [[!url]]. If + not, issue a warning.
    5. +
    6. For all the terms defined in , except for accessModeSufficient and accessibilitySummary, check - whether all tokens listed in manifest[term] are allowed (see the list of expected values for each of those terms). If the check fails, remove - the token from the manifest[term] array and issue a warning.
    7. -
    8. For all values in manifest["accessModeSufficient"] check whether all - constituent tokens in the value, when considering the latter as a comma-separated list, - is allowed (see the list of expected values). If the check fails, remove that token from the comma - separated list and issue a warning; if, as a result, value becomes an empty string, - remove the value from manifest["accessModeSufficient"].
    9. + whether all tokens listed in manifest[term] are defined in the preferred + vocabulary (see the list of + expected values for each). Issue a warning for each unrecognized value. +
    10. For all values in manifest["accessModeSufficient"], check whether each token + in each ItemList [[!schema.org]] is defined in + the preferred vocabulary (see the list of + expected values). Issue a warning for each unrecognized value.
    11. For all the terms defined in , check whether every object Obj in manifest[term] has Obj["name"] set. If not, remove Obj from manifest[term] array and issue a warning.
    12. From 943b911e0dde5e607d58afafe471623bc0644830 Mon Sep 17 00:00:00 2001 From: MattGarrish Date: Tue, 25 Sep 2018 19:57:22 -0300 Subject: [PATCH 2/3] fix example json --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index cbeed73..9006eb5 100644 --- a/index.html +++ b/index.html @@ -1123,11 +1123,11 @@
      Manifest Expression
      "accessMode" : ["textual", "visual"], "accessModeSufficient" : [ { - type="ItemList", + "type": "ItemList", "itemListElement": ["textual", "visual"] }, { - type="ItemList", + "type": "ItemList", "itemListElement": ["textual"] } ], From f2fc429a2b17b4d8db128a6e61e3f6e7065f824e Mon Sep 17 00:00:00 2001 From: MattGarrish Date: Tue, 25 Sep 2018 19:58:39 -0300 Subject: [PATCH 3/3] whitespace tweak --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9006eb5..8784c5c 100644 --- a/index.html +++ b/index.html @@ -1123,11 +1123,11 @@
      Manifest Expression
      "accessMode" : ["textual", "visual"], "accessModeSufficient" : [ { - "type": "ItemList", + "type" : "ItemList", "itemListElement": ["textual", "visual"] }, { - "type": "ItemList", + "type" : "ItemList", "itemListElement": ["textual"] } ],