Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/accessibility/ARIAConfig.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: all done Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 WebInspector.ARIAMetadata._config = { 1 WebInspector.ARIAMetadata._config = {
2 "attributes": { 2 'attributes': {
3 "aria-activedescendant": { "type": "IDREF" }, 3 'aria-activedescendant': {'type': 'IDREF'},
4 "aria-atomic": { "default": "false", "type": "boolean" }, 4 'aria-atomic': {'default': 'false', 'type': 'boolean'},
5 "aria-autocomplete": { 5 'aria-autocomplete': {'default': 'none', 'enum': ['inline', 'list', 'both', 'none'], 'type': 'token'},
6 "default": "none", 6 'aria-busy': {'default': 'false', 'type': 'boolean'},
7 "enum": [ "inline", "list", "both", "none" ], 7 'aria-checked': {'default': 'undefined', 'enum': ['true', 'false', 'mixed', 'undefined'], 'type': 'token'},
8 "type": "token" 8 'aria-controls': {'type': 'IDREF_list'},
9 }, 9 'aria-describedby': {'type': 'IDREF_list'},
10 "aria-busy": { "default": "false", "type": "boolean" }, 10 'aria-disabled': {'default': 'false', 'type': 'boolean'},
11 "aria-checked": { 11 'aria-dropeffect':
12 "default": "undefined", 12 {'default': 'none', 'enum': ['copy', 'move', 'link', 'execute', 'popup', 'none'], 'type': 'token_list'},
13 "enum": [ "true", "false", "mixed", "undefined" ], 13 'aria-expanded': {'default': 'undefined', 'enum': ['true', 'false', 'undefin ed'], 'type': 'token'},
14 "type": "token" 14 'aria-flowto': {'type': 'IDREF_list'},
15 }, 15 'aria-grabbed': {'default': 'undefined', 'enum': ['true', 'false', 'undefine d'], 'type': 'token'},
16 "aria-controls": { "type": "IDREF_list" }, 16 'aria-haspopup': {'default': 'false', 'type': 'boolean'},
17 "aria-describedby": { "type": "IDREF_list"}, 17 'aria-hidden': {'default': 'false', 'type': 'boolean'},
18 "aria-disabled": { "default": "false", "type": "boolean" }, 18 'aria-invalid': {'default': 'false', 'enum': ['grammar', 'false', 'spelling' , 'true'], 'type': 'token'},
19 "aria-dropeffect": { 19 'aria-label': {'type': 'string'},
20 "default": "none", 20 'aria-labelledby': {'type': 'IDREF_list'},
21 "enum": [ "copy", "move", "link", "execute", "popup", "none" ], 21 'aria-level': {'type': 'integer'},
22 "type": "token_list" 22 'aria-live': {'default': 'off', 'enum': ['off', 'polite', 'assertive'], 'typ e': 'token'},
23 }, 23 'aria-multiline': {'default': 'false', 'type': 'boolean'},
24 "aria-expanded": { 24 'aria-multiselectable': {'default': 'false', 'type': 'boolean'},
25 "default": "undefined", 25 'aria-orientation': {'default': 'vertical', 'enum': ['horizontal', 'vertical '], 'type': 'token'},
26 "enum": [ "true", "false", "undefined" ], 26 'aria-owns': {'type': 'IDREF_list'},
27 "type": "token" 27 'aria-posinset': {'type': 'integer'},
28 }, 28 'aria-pressed': {'default': 'undefined', 'enum': ['true', 'false', 'mixed', 'undefined'], 'type': 'token'},
29 "aria-flowto": { "type": "IDREF_list" }, 29 'aria-readonly': {'default': 'false', 'type': 'boolean'},
30 "aria-grabbed": { 30 'aria-relevant':
31 "default": "undefined", 31 {'default': 'additions text', 'enum': ['additions', 'removals', 'text', 'all'], 'type': 'token_list'},
32 "enum": [ "true", "false", "undefined" ], 32 'aria-required': {'default': 'false', 'type': 'boolean'},
33 "type": "token" 33 'aria-selected': {'default': 'undefined', 'enum': ['true', 'false', 'undefin ed'], 'type': 'token'},
34 }, 34 'aria-setsize': {'type': 'integer'},
35 "aria-haspopup": { "default": "false", "type": "boolean" }, 35 'aria-sort': {'default': 'none', 'enum': ['ascending', 'descending', 'none', 'other'], 'type': 'token'},
36 "aria-hidden": { "default": "false", "type": "boolean" }, 36 'aria-valuemax': {'type': 'decimal'},
37 "aria-invalid": { 37 'aria-valuemin': {'type': 'decimal'},
38 "default": "false", 38 'aria-valuenow': {'type': 'decimal'},
39 "enum": [ "grammar", "false", "spelling", "true" ], 39 'aria-valuetext': {'type': 'string'},
40 "type": "token" 40 'tabindex': {'type': 'integer'}
41 }, 41 },
42 "aria-label": { "type": "string" }, 42 'roles': {
43 "aria-labelledby": { "type": "IDREF_list" }, 43 'alert': {'nameFrom': ['author'], 'superclasses': ['region']},
44 "aria-level": { "type": "integer" }, 44 'alertdialog': {'nameFrom': ['author'], 'superclasses': ['alert', 'dialog']} ,
45 "aria-live": { 45 'application': {'nameFrom': ['author'], 'superclasses': ['landmark']},
46 "default": "off", 46 'article': {'nameFrom': ['author'], 'superclasses': ['document', 'region']},
47 "enum": [ "off", "polite", "assertive" ], 47 'banner': {'nameFrom': ['author'], 'superclasses': ['landmark']},
48 "type": "token" 48 'button': {
49 }, 49 'nameFrom': ['contents', 'author'],
50 "aria-multiline": { "default": "false", "type": "boolean" }, 50 'superclasses': ['command'],
51 "aria-multiselectable": { "default": "false", "type": "boolean" }, 51 'supportedAttributes': ['aria-expanded', 'aria-pressed']
52 "aria-orientation": { 52 },
53 "default": "vertical", 53 'checkbox': {'nameFrom': ['contents', 'author'], 'requiredAttributes': ['ari a-checked'], 'superclasses': ['input']},
54 "enum": [ "horizontal", "vertical" ], 54 'columnheader': {
55 "type": "token" 55 'nameFrom': ['contents', 'author'],
56 }, 56 'scope': ['row'],
57 "aria-owns": { "type": "IDREF_list" }, 57 'superclasses': ['gridcell', 'sectionhead', 'widget'],
58 "aria-posinset": { "type": "integer" }, 58 'supportedAttributes': ['aria-sort']
59 "aria-pressed": { 59 },
60 "default": "undefined", 60 'combobox': {
61 "enum": [ "true", "false", "mixed", "undefined" ], 61 'mustContain': ['listbox', 'textbox'],
62 "type": "token" 62 'nameFrom': ['author'],
63 }, 63 'requiredAttributes': ['aria-expanded'],
64 "aria-readonly": { "default": "false", "type": "boolean" }, 64 'superclasses': ['select'],
65 "aria-relevant": { 65 'supportedAttributes': ['aria-autocomplete', 'aria-required']
66 "default": "additions text", 66 },
67 "enum": [ "additions", "removals", "text", "all" ], 67 'command': {'abstract': true, 'nameFrom': ['author'], 'superclasses': ['widg et']},
68 "type": "token_list" 68 'complementary': {'nameFrom': ['author'], 'superclasses': ['landmark']},
69 }, 69 'composite': {
70 "aria-required": { "default": "false", "type": "boolean" }, 70 'abstract': true,
71 "aria-selected": { 71 'nameFrom': ['author'],
72 "default": "undefined", 72 'superclasses': ['widget'],
73 "enum": [ "true", "false", "undefined" ], 73 'supportedAttributes': ['aria-activedescendant'],
74 "type": "token" 74 },
75 }, 75 'contentinfo': {'nameFrom': ['author'], 'superclasses': ['landmark']},
76 "aria-setsize": { "type": "integer" }, 76 'definition': {'nameFrom': ['author'], 'superclasses': ['section']},
77 "aria-sort": { 77 'dialog': {'nameFrom': ['author'], 'superclasses': ['window']},
78 "default": "none", 78 'directory': {'nameFrom': ['contents', 'author'], 'superclasses': ['list']},
79 "enum": [ "ascending", "descending", "none", "other" ], 79 'document': {'nameFrom': ['author'], 'superclasses': ['structure'], 'support edAttributes': ['aria-expanded']},
80 "type": "token" 80 'form': {'nameFrom': ['author'], 'superclasses': ['landmark']},
81 }, 81 'grid': {
82 "aria-valuemax": { "type": "decimal" }, 82 'mustContain': ['row', 'rowgroup', 'row'],
83 "aria-valuemin": { "type": "decimal" }, 83 'nameFrom': ['author'],
84 "aria-valuenow": { "type": "decimal" }, 84 'superclasses': ['composite', 'region'],
85 "aria-valuetext": { "type": "string" }, 85 'supportedAttributes': ['aria-level', 'aria-multiselectable', 'aria-readon ly']
86 "tabindex": { "type": "integer" } 86 },
87 }, 87 'gridcell': {
88 "roles": { 88 'nameFrom': ['contents', 'author'],
89 "alert": { "nameFrom": ["author"], "superclasses": ["region"] }, 89 'scope': ['row'],
90 "alertdialog": { "nameFrom": ["author"], "superclasses": ["alert", "dial og"] }, 90 'superclasses': ['section', 'widget'],
91 "application": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 91 'supportedAttributes': ['aria-readonly', 'aria-required', 'aria-selected']
92 "article": { "nameFrom": ["author"], "superclasses": ["document", "regio n"]}, 92 },
93 "banner": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 93 'group': {'nameFrom': ['author'], 'superclasses': ['section'], 'supportedAtt ributes': ['aria-activedescendant']},
94 "button": { 94 'heading': {'superclasses': ['sectionhead'], 'supportedAttributes': ['aria-l evel']},
95 "nameFrom": ["contents", "author"], 95 'img': {'nameFrom': ['author'], 'superclasses': ['section']},
96 "superclasses": ["command"], 96 'input': {'abstract': true, 'nameFrom': ['author'], 'superclasses': ['widget ']},
97 "supportedAttributes": ["aria-expanded", "aria-pressed"] 97 'landmark': {'abstract': true, 'nameFrom': ['contents', 'author'], 'supercla sses': ['region']},
98 }, 98 'link': {'nameFrom': ['contents', 'author'], 'superclasses': ['command'], 's upportedAttributes': ['aria-expanded']},
99 "checkbox": { 99 'list': {'mustContain': ['group', 'listitem', 'listitem'], 'nameFrom': ['aut hor'], 'superclasses': ['region']},
100 "nameFrom": ["contents", "author"], 100 'listbox': {
101 "requiredAttributes": ["aria-checked"], 101 'mustContain': ['option'],
102 "superclasses": ["input"] 102 'nameFrom': ['author'],
103 }, 103 'superclasses': ['list', 'select'],
104 "columnheader": { 104 'supportedAttributes': ['aria-multiselectable', 'aria-required']
105 "nameFrom": ["contents", "author"], 105 },
106 "scope": ["row"], 106 'listitem': {
107 "superclasses": ["gridcell", "sectionhead", "widget"], 107 'nameFrom': ['contents', 'author'],
108 "supportedAttributes": ["aria-sort"] 108 'scope': ['list'],
109 }, 109 'superclasses': ['section'],
110 "combobox": { 110 'supportedAttributes': ['aria-level', 'aria-posinset', 'aria-setsize']
111 "mustContain": ["listbox", "textbox"], 111 },
112 "nameFrom": ["author"], 112 'log': {'nameFrom': ['author'], 'superclasses': ['region']},
113 "requiredAttributes": ["aria-expanded"], 113 'main': {'nameFrom': ['author'], 'superclasses': ['landmark']},
114 "superclasses": ["select"], 114 'marquee': {'superclasses': ['section']},
115 "supportedAttributes": ["aria-autocomplete","aria-required"] 115 'math': {'nameFrom': ['author'], 'superclasses': ['section']},
116 }, 116 'menu': {
117 "command": { 117 'mustContain': ['group', 'menuitemradio', 'menuitem', 'menuitemcheckbox', 'menuitemradio'],
118 "abstract": true, 118 'nameFrom': ['author'],
119 "nameFrom": ["author"], 119 'superclasses': ['list', 'select']
120 "superclasses": ["widget"] 120 },
121 }, 121 'menubar': {'nameFrom': ['author'], 'superclasses': ['menu']},
122 "complementary": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 122 'menuitem': {'nameFrom': ['contents', 'author'], 'scope': ['menu', 'menubar' ], 'superclasses': ['command']},
123 "composite": { 123 'menuitemcheckbox':
124 "abstract": true, 124 {'nameFrom': ['contents', 'author'], 'scope': ['menu', 'menubar'], 'supe rclasses': ['checkbox', 'menuitem']},
125 "nameFrom": ["author"], 125 'menuitemradio': {
126 "superclasses": ["widget"], 126 'nameFrom': ['contents', 'author'],
127 "supportedAttributes": ["aria-activedescendant"], 127 'scope': ['menu', 'menubar'],
128 }, 128 'superclasses': ['menuitemcheckbox', 'radio']
129 "contentinfo": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 129 },
130 "definition": { "nameFrom": ["author"], "superclasses": ["section"] }, 130 'navigation': {'nameFrom': ['author'], 'superclasses': ['landmark']},
131 "dialog": { "nameFrom": ["author"], "superclasses": ["window"] }, 131 'note': {'nameFrom': ['author'], 'superclasses': ['section']},
132 "directory": { "nameFrom": ["contents", "author"], "superclasses": ["lis t"] }, 132 'option': {
133 "document": { 133 'nameFrom': ['contents', 'author'],
134 "nameFrom": ["author"], 134 'superclasses': ['input'],
135 "superclasses": ["structure"], 135 'supportedAttributes': ['aria-checked', 'aria-posinset', 'aria-selected', 'aria-setsize']
136 "supportedAttributes": ["aria-expanded"] 136 },
137 }, 137 'presentation': {'superclasses': ['structure']},
138 "form": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 138 'progressbar': {'nameFrom': ['author'], 'superclasses': ['range']},
139 "grid": { 139 'radio': {'nameFrom': ['contents', 'author'], 'superclasses': ['checkbox', ' option']},
140 "mustContain": ["row", "rowgroup", "row"], 140 'radiogroup': {
141 "nameFrom": ["author"], 141 'mustContain': ['radio'],
142 "superclasses": ["composite", "region"], 142 'nameFrom': ['author'],
143 "supportedAttributes": ["aria-level", "aria-multiselectable", "aria- readonly"] 143 'superclasses': ['select'],
144 }, 144 'supportedAttributes': ['aria-required']
145 "gridcell": { 145 },
146 "nameFrom": ["contents", "author"], 146 'range': {
147 "scope": ["row"], 147 'abstract': true,
148 "superclasses": ["section", "widget"], 148 'nameFrom': ['author'],
149 "supportedAttributes": ["aria-readonly", "aria-required", "aria-sele cted"] 149 'superclasses': ['widget'],
150 }, 150 'supportedAttributes': ['aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext']
151 "group": { 151 },
152 "nameFrom": ["author"], 152 'region': {'nameFrom': ['author'], 'superclasses': ['section']},
153 "superclasses": ["section"], 153 'roletype': {
154 "supportedAttributes": ["aria-activedescendant"] 154 'abstract': true,
155 }, 155 'supportedAttributes': [
156 "heading": { "superclasses": ["sectionhead"], "supportedAttributes": ["a ria-level"] }, 156 'aria-atomic', 'aria-busy', 'aria-controls', 'aria-describedby', 'aria-d isabled', 'aria-dropeffect',
157 "img": { "nameFrom": ["author"], "superclasses": ["section"] }, 157 'aria-flowto', 'aria-grabbed', 'aria-haspopup', 'aria-hidden', 'aria-inv alid', 'aria-label', 'aria-labelledby',
158 "input": { 158 'aria-live', 'aria-owns', 'aria-relevant'
159 "abstract": true, 159 ]
160 "nameFrom": ["author"], 160 },
161 "superclasses": ["widget"] 161 'row': {
162 }, 162 'mustContain': ['columnheader', 'gridcell', 'rowheader'],
163 "landmark": { 163 'nameFrom': ['contents', 'author'],
164 "abstract": true, 164 'scope': ['grid', 'rowgroup', 'treegrid'],
165 "nameFrom": ["contents", "author"], 165 'superclasses': ['group', 'widget'],
166 "superclasses": ["region"] 166 'supportedAttributes': ['aria-level', 'aria-selected']
167 }, 167 },
168 "link": { 168 'rowgroup':
169 "nameFrom": ["contents", "author"], 169 {'mustContain': ['row'], 'nameFrom': ['contents', 'author'], 'scope': [' grid'], 'superclasses': ['group']},
170 "superclasses": ["command"], 170 'rowheader': {
171 "supportedAttributes": ["aria-expanded"] 171 'nameFrom': ['contents', 'author'],
172 }, 172 'scope': ['row'],
173 "list": { 173 'superclasses': ['gridcell', 'sectionhead', 'widget'],
174 "mustContain": ["group", "listitem", "listitem"], 174 'supportedAttributes': ['aria-sort']
175 "nameFrom": ["author"], 175 },
176 "superclasses": ["region"] 176 'scrollbar': {
177 }, 177 'nameFrom': ['author'],
178 "listbox": { 178 'requiredAttributes': ['aria-controls', 'aria-orientation', 'aria-valuemax ', 'aria-valuemin', 'aria-valuenow'],
179 "mustContain": ["option"], 179 'superclasses': ['input', 'range']
180 "nameFrom": ["author"], 180 },
181 "superclasses": ["list", "select"], 181 'search': {'nameFrom': ['author'], 'superclasses': ['landmark']},
182 "supportedAttributes": ["aria-multiselectable", "aria-required"] 182 'section': {
183 }, 183 'abstract': true,
184 "listitem": { 184 'nameFrom': ['contents', 'author'],
185 "nameFrom": ["contents", "author"], 185 'superclasses': ['structure'],
186 "scope": ["list"], 186 'supportedAttributes': ['aria-expanded']
187 "superclasses": ["section"], 187 },
188 "supportedAttributes": ["aria-level", "aria-posinset", "aria-setsize "] 188 'sectionhead': {
189 }, 189 'abstract': true,
190 "log": { "nameFrom": ["author"], "superclasses": ["region"] }, 190 'nameFrom': ['contents', 'author'],
191 "main": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 191 'superclasses': ['structure'],
192 "marquee": { "superclasses": ["section"] }, 192 'supportedAttributes': ['aria-expanded']
193 "math": { "nameFrom": ["author"], "superclasses": ["section"]}, 193 },
194 "menu": { 194 'select': {'abstract': true, 'nameFrom': ['author'], 'superclasses': ['compo site', 'group', 'input']},
195 "mustContain": ["group", "menuitemradio", "menuitem", "menuitemcheck box", "menuitemradio"], 195 'separator': {
196 "nameFrom": ["author"], 196 'nameFrom': ['author'],
197 "superclasses": ["list", "select"] 197 'superclasses': ['structure'],
198 }, 198 'supportedAttributes': ['aria-expanded', 'aria-orientation']
199 "menubar": { "nameFrom": ["author"], "superclasses": ["menu"] }, 199 },
200 "menuitem": { 200 'slider': {
201 "nameFrom": ["contents", "author"], 201 'nameFrom': ['author'],
202 "scope": ["menu", "menubar"], 202 'requiredAttributes': ['aria-valuemax', 'aria-valuemin', 'aria-valuenow'],
203 "superclasses": ["command"] 203 'superclasses': ['input', 'range'],
204 }, 204 'supportedAttributes': ['aria-orientation']
205 "menuitemcheckbox": { 205 },
206 "nameFrom": ["contents", "author"], 206 'spinbutton': {
207 "scope": ["menu", "menubar"], 207 'nameFrom': ['author'],
208 "superclasses": ["checkbox", "menuitem"] 208 'requiredAttributes': ['aria-valuemax', 'aria-valuemin', 'aria-valuenow'],
209 }, 209 'superclasses': ['input', 'range'],
210 "menuitemradio": { 210 'supportedAttributes': ['aria-required']
211 "nameFrom": ["contents", "author"], 211 },
212 "scope": ["menu", "menubar"], 212 'status': {'superclasses': ['region']},
213 "superclasses": ["menuitemcheckbox", "radio"] 213 'structure': {'abstract': true, 'superclasses': ['roletype']},
214 }, 214 'tab': {
215 "navigation": { "nameFrom": ["author"], "superclasses": ["landmark"] }, 215 'nameFrom': ['contents', 'author'],
216 "note": { "nameFrom": ["author"], "superclasses": ["section"] }, 216 'scope': ['tablist'],
217 "option": { 217 'superclasses': ['sectionhead', 'widget'],
218 "nameFrom": ["contents", "author"], 218 'supportedAttributes': ['aria-selected']
219 "superclasses": ["input"], 219 },
220 "supportedAttributes": ["aria-checked", "aria-posinset", "aria-selec ted", "aria-setsize"] 220 'tablist': {
221 }, 221 'mustContain': ['tab'],
222 "presentation": { "superclasses": ["structure"] }, 222 'nameFrom': ['author'],
223 "progressbar": { "nameFrom": ["author"], "superclasses": ["range"] }, 223 'superclasses': ['composite', 'directory'],
224 "radio": { 224 'supportedAttributes': ['aria-level']
225 "nameFrom": ["contents", "author"], 225 },
226 "superclasses": ["checkbox", "option"] 226 'tabpanel': {'nameFrom': ['author'], 'superclasses': ['region']},
227 }, 227 'textbox': {
228 "radiogroup": { 228 'nameFrom': ['author'],
229 "mustContain": ["radio"], 229 'superclasses': ['input'],
230 "nameFrom": ["author"], 230 'supportedAttributes':
231 "superclasses": ["select"], 231 ['aria-activedescendant', 'aria-autocomplete', 'aria-multiline', 'aria -readonly', 'aria-required']
232 "supportedAttributes": ["aria-required"] 232 },
233 }, 233 'timer': {'nameFrom': ['author'], 'superclasses': ['status']},
234 "range": { 234 'toolbar': {'nameFrom': ['author'], 'superclasses': ['group']},
235 "abstract": true, 235 'tooltip': {'superclasses': ['section']},
236 "nameFrom": ["author"], 236 'tree': {
237 "superclasses": ["widget"], 237 'mustContain': ['group', 'treeitem', 'treeitem'],
238 "supportedAttributes": ["aria-valuemax", "aria-valuemin", "aria-valu enow", "aria-valuetext"] 238 'nameFrom': ['author'],
239 }, 239 'superclasses': ['select'],
240 "region": { "nameFrom": ["author"], "superclasses": ["section"] }, 240 'supportedAttributes': ['aria-multiselectable', 'aria-required']
241 "roletype": { 241 },
242 "abstract": true, 242 'treegrid': {'mustContain': ['row'], 'nameFrom': ['author'], 'superclasses': ['grid', 'tree']},
243 "supportedAttributes": [ 243 'treeitem':
244 "aria-atomic", 244 {'nameFrom': ['contents', 'author'], 'scope': ['group', 'tree'], 'superc lasses': ['listitem', 'option']},
245 "aria-busy", 245 'widget': {'abstract': true, 'superclasses': ['roletype']},
246 "aria-controls", 246 'window': {
247 "aria-describedby", 247 'abstract': true,
248 "aria-disabled", 248 'nameFrom': ['author'],
249 "aria-dropeffect", 249 'superclasses': ['roletype'],
250 "aria-flowto", 250 'supportedAttributes': ['aria-expanded']
251 "aria-grabbed",
252 "aria-haspopup",
253 "aria-hidden",
254 "aria-invalid",
255 "aria-label",
256 "aria-labelledby",
257 "aria-live",
258 "aria-owns",
259 "aria-relevant"
260 ]
261 },
262 "row": {
263 "mustContain": ["columnheader", "gridcell", "rowheader"],
264 "nameFrom": ["contents", "author"],
265 "scope": ["grid", "rowgroup", "treegrid"],
266 "superclasses": ["group", "widget"],
267 "supportedAttributes": ["aria-level", "aria-selected"]
268 },
269 "rowgroup": {
270 "mustContain": ["row"],
271 "nameFrom": ["contents", "author"],
272 "scope": ["grid"],
273 "superclasses": ["group"]
274 },
275 "rowheader": {
276 "nameFrom": ["contents", "author"],
277 "scope": ["row"],
278 "superclasses": ["gridcell", "sectionhead", "widget"],
279 "supportedAttributes": ["aria-sort"]
280 },
281 "scrollbar": {
282 "nameFrom": ["author"],
283 "requiredAttributes": [
284 "aria-controls",
285 "aria-orientation",
286 "aria-valuemax",
287 "aria-valuemin",
288 "aria-valuenow"
289 ],
290 "superclasses": ["input", "range"]
291 },
292 "search": { "nameFrom": ["author"], "superclasses": ["landmark"] },
293 "section": {
294 "abstract": true,
295 "nameFrom": ["contents", "author"],
296 "superclasses": ["structure"],
297 "supportedAttributes": ["aria-expanded"]
298 },
299 "sectionhead": {
300 "abstract": true,
301 "nameFrom": ["contents", "author"],
302 "superclasses": ["structure"],
303 "supportedAttributes": ["aria-expanded"]
304 },
305 "select": {
306 "abstract": true,
307 "nameFrom": ["author"],
308 "superclasses": ["composite", "group", "input"]
309 },
310 "separator": {
311 "nameFrom": ["author"],
312 "superclasses": ["structure"],
313 "supportedAttributes": ["aria-expanded", "aria-orientation"]
314 },
315 "slider": {
316 "nameFrom": ["author"],
317 "requiredAttributes": ["aria-valuemax", "aria-valuemin", "aria-value now"],
318 "superclasses": ["input", "range"],
319 "supportedAttributes": ["aria-orientation"]
320 },
321 "spinbutton": {
322 "nameFrom": ["author"],
323 "requiredAttributes": ["aria-valuemax", "aria-valuemin", "aria-value now"],
324 "superclasses": ["input", "range"],
325 "supportedAttributes": ["aria-required"]
326 },
327 "status": { "superclasses": ["region"] },
328 "structure": { "abstract": true, "superclasses": ["roletype"] },
329 "tab": {
330 "nameFrom": ["contents", "author"],
331 "scope": ["tablist"],
332 "superclasses": ["sectionhead", "widget"],
333 "supportedAttributes": ["aria-selected"]
334 },
335 "tablist": {
336 "mustContain": ["tab"],
337 "nameFrom": ["author"],
338 "superclasses": ["composite", "directory"],
339 "supportedAttributes": ["aria-level"]
340 },
341 "tabpanel": { "nameFrom": ["author"], "superclasses": ["region"] },
342 "textbox": {
343 "nameFrom": ["author"],
344 "superclasses": ["input"],
345 "supportedAttributes": [
346 "aria-activedescendant",
347 "aria-autocomplete",
348 "aria-multiline",
349 "aria-readonly",
350 "aria-required"
351 ]
352 },
353 "timer": { "nameFrom": ["author"], "superclasses": ["status"] },
354 "toolbar": { "nameFrom": ["author"], "superclasses": ["group"] },
355 "tooltip": { "superclasses": ["section"] },
356 "tree": {
357 "mustContain": ["group", "treeitem", "treeitem"],
358 "nameFrom": ["author"],
359 "superclasses": ["select"],
360 "supportedAttributes": ["aria-multiselectable", "aria-required"]
361 },
362 "treegrid": {
363 "mustContain": ["row"],
364 "nameFrom": ["author"],
365 "superclasses": ["grid","tree"]
366 },
367 "treeitem": {
368 "nameFrom": ["contents", "author"],
369 "scope": ["group", "tree"],
370 "superclasses": ["listitem", "option"]
371 },
372 "widget": { "abstract": true, "superclasses": ["roletype"] },
373 "window": {
374 "abstract": true,
375 "nameFrom": ["author"],
376 "superclasses": ["roletype"],
377 "supportedAttributes": ["aria-expanded"]
378 }
379 } 251 }
252 }
380 }; 253 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698