Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
[Issue #234] ARIA rules-update ariaSchema and roleSchema for ARIA 1.1
Browse files Browse the repository at this point in the history
compliance
  • Loading branch information
t-ligu authored and HamletDRC committed Sep 9, 2016
1 parent 66bcb32 commit fbe35e8
Show file tree
Hide file tree
Showing 2 changed files with 321 additions and 202 deletions.
110 changes: 101 additions & 9 deletions src/utils/attributes/ariaSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,65 @@
},
"aria-autocomplete": {
"type": "token",
"values": [ "inline", "list", "both", "none" ]
"values": [
"inline",
"list",
"both",
"none"
]
},
"aria-busy": {
"type": "boolean"
},
"aria-checked": {
"type": "tristate"
},
"aria-colcount": {
"type": "integer"
},
"aria-colindex": {
"type": "integer"
},
"aria-colspan": {
"type": "integer"
},
"aria-controls": {
"type": "string"
},
"aria-current": {
"type": "token",
"values": [
"page",
"step",
"location",
"date",
"time",
"true",
"false"
]
},
"aria-describedby": {
"type": "string"
},
"aria-details": {
"type": "string"
},
"aria-disabled": {
"type": "boolean"
},
"aria-dropeffect": {
"type": "tokenlist",
"values": [ "copy", "move", "link", "execute", "popup", "none" ]
"values": [
"copy",
"move",
"link",
"execute",
"popup",
"none"
]
},
"aria-errormessage": {
"type": "string"
},
"aria-expanded": {
"type": "boolean",
Expand All @@ -40,14 +79,32 @@
"allowUndefined": true
},
"aria-haspopup": {
"type": "boolean"
"type": "token",
"values": [
"false",
"true",
"menu",
"listbox",
"tree",
"grid",
"dialog"
]
},
"aria-hidden": {
"type": "boolean"
"type": "boolean",
"allowUndefined": true
},
"aria-invalid": {
"type": "token",
"values": [ "grammar", "false", "spelling", "true" ]
"values": [
"grammar",
"false",
"spelling",
"true"
]
},
"aria-keyshortcuts": {
"type": "string"
},
"aria-label": {
"type": "string"
Expand All @@ -60,7 +117,14 @@
},
"aria-live": {
"type": "token",
"values": [ "off", "polite", "assertive" ]
"values": [
"off",
"polite",
"assertive"
]
},
"aria-modal": {
"type": "boolean"
},
"aria-multiline": {
"type": "boolean"
Expand All @@ -70,11 +134,17 @@
},
"aria-orientation": {
"type": "token",
"values": [ "vertical", "horizontal" ]
"values": [
"vertical",
"horizontal"
]
},
"aria-owns": {
"type": "string"
},
"aria-placeholder": {
"type": "string"
},
"aria-posinset": {
"type": "integer"
},
Expand All @@ -86,11 +156,28 @@
},
"aria-relevant": {
"type": "tokenlist",
"values": [ "additions", "removals", "text", "all" ]
"values": [
"additions",
"removals",
"text",
"all"
]
},
"aria-required": {
"type": "boolean"
},
"aria-roledescription": {
"type": "string"
},
"aria-rowcount": {
"type": "integer"
},
"aria-rowindex": {
"type": "integer"
},
"aria-rowspan": {
"type": "integer"
},
"aria-selected": {
"type": "boolean",
"allowUndefined": true
Expand All @@ -100,7 +187,12 @@
},
"aria-sort": {
"type": "token",
"values": [ "ascending", "descending", "none", "other" ]
"values": [
"ascending",
"descending",
"none",
"other"
]
},
"aria-valuemax": {
"type": "number"
Expand Down
Loading

0 comments on commit fbe35e8

Please sign in to comment.