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

Side by Side Diff: third_party/accessibility-audit/axs_testing.js

Issue 2694903010: AX checked state changes (Closed)
Patch Set: Fix android test Created 3 years, 9 months 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 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 }; 418 };
419 goog.scope = function(a) { 419 goog.scope = function(a) {
420 a.call(goog.global); 420 a.call(goog.global);
421 }; 421 };
422 var axs = {}; 422 var axs = {};
423 axs.browserUtils = {}; 423 axs.browserUtils = {};
424 axs.browserUtils.matchSelector = function(a, b) { 424 axs.browserUtils.matchSelector = function(a, b) {
425 return a.matches ? a.matches(b) : a.webkitMatchesSelector ? a.webkitMatchesSel ector(b) : a.mozMatchesSelector ? a.mozMatchesSelector(b) : a.msMatchesSelector ? a.msMatchesSelector(b) : !1; 425 return a.matches ? a.matches(b) : a.webkitMatchesSelector ? a.webkitMatchesSel ector(b) : a.mozMatchesSelector ? a.mozMatchesSelector(b) : a.msMatchesSelector ? a.msMatchesSelector(b) : !1;
426 }; 426 };
427 axs.constants = {}; 427 axs.constants = {};
428 axs.constants.ARIA_ROLES = {alert:{namefrom:["author"], parent:["region"]}, aler tdialog:{namefrom:["author"], namerequired:!0, parent:["alert", "dialog"]}, appl ication:{namefrom:["author"], namerequired:!0, parent:["landmark"]}, article:{na mefrom:["author"], parent:["document", "region"]}, banner:{namefrom:["author"], parent:["landmark"]}, button:{childpresentational:!0, namefrom:["contents", "aut hor"], namerequired:!0, parent:["command"], properties:["aria-expanded", "aria-p ressed"]}, checkbox:{namefrom:["contents", 428 axs.constants.ARIA_ROLES = {alert:{namefrom:["author"], parent:["region"]}, aler tdialog:{namefrom:["author"], namerequired:!0, parent:["alert", "dialog"]}, appl ication:{namefrom:["author"], namerequired:!0, parent:["landmark"]}, article:{na mefrom:["author"], parent:["document", "region"]}, banner:{namefrom:["author"], parent:["landmark"]}, button:{childpresentational:!0, namefrom:["contents", "aut hor"], namerequired:!0, parent:["command"], properties:["aria-expanded", "aria-p ressed"]}, checkbox:{namefrom:["contents",
429 "author"], namerequired:!0, parent:["input"], requiredProperties:["aria-checked" ], properties:["aria-checked"]}, columnheader:{namefrom:["contents", "author"], namerequired:!0, parent:["gridcell", "sectionhead", "widget"], properties:["aria -sort"], scope:["row"]}, combobox:{mustcontain:["listbox", "textbox"], namefrom: ["author"], namerequired:!0, parent:["select"], requiredProperties:["aria-expand ed"], properties:["aria-expanded", "aria-autocomplete", "aria-required"]}, comma nd:{"abstract":!0, namefrom:["author"], 429 "author"], namerequired:!0, parent:["input"], requiredProperties:["aria-checked" ], properties:["aria-checked"]}, columnheader:{namefrom:["contents", "author"], namerequired:!0, parent:["gridcell", "sectionhead", "widget"], properties:["aria -sort"], scope:["row"]}, combobox:{mustcontain:["listbox", "textbox"], namefrom: ["author"], namerequired:!0, parent:["select"], requiredProperties:["aria-expand ed"], properties:["aria-expanded", "aria-autocomplete", "aria-required"]}, comma nd:{"abstract":!0, namefrom:["author"],
430 parent:["widget"]}, complementary:{namefrom:["author"], parent:["landmark"]}, co mposite:{"abstract":!0, childpresentational:!1, namefrom:["author"], parent:["wi dget"], properties:["aria-activedescendant"]}, contentinfo:{namefrom:["author"], parent:["landmark"]}, definition:{namefrom:["author"], parent:["section"]}, dia log:{namefrom:["author"], namerequired:!0, parent:["window"]}, directory:{namefr om:["contents", "author"], parent:["list"]}, document:{namefrom:[" author"], nam erequired:!0, parent:["structure"], 430 parent:["widget"]}, complementary:{namefrom:["author"], parent:["landmark"]}, co mposite:{"abstract":!0, childpresentational:!1, namefrom:["author"], parent:["wi dget"], properties:["aria-activedescendant"]}, contentinfo:{namefrom:["author"], parent:["landmark"]}, definition:{namefrom:["author"], parent:["section"]}, dia log:{namefrom:["author"], namerequired:!0, parent:["window"]}, directory:{namefr om:["contents", "author"], parent:["list"]}, document:{namefrom:[" author"], nam erequired:!0, parent:["structure"],
431 properties:["aria-expanded"]}, form:{namefrom:["author"], parent:["landmark"]}, grid:{mustcontain:["row", "rowgroup"], namefrom:["author"], namerequired:!0, par ent:["composite", "region"], properties:["aria-level", "aria-multiselectable", " aria-readonly"]}, gridcell:{namefrom:["contents", "author"], namerequired:!0, pa rent:["section", "widget"], properties:["aria-readonly", "aria-required", "aria- selected"], scope:["row"]}, group:{namefrom:[" author"], parent:["section"], pro perties:["aria-activedescendant"]}, 431 properties:["aria-expanded"]}, form:{namefrom:["author"], parent:["landmark"]}, grid:{mustcontain:["row", "rowgroup"], namefrom:["author"], namerequired:!0, par ent:["composite", "region"], properties:["aria-level", "aria-multiselectable", " aria-readonly"]}, gridcell:{namefrom:["contents", "author"], namerequired:!0, pa rent:["section", "widget"], properties:["aria-readonly", "aria-required", "aria- selected"], scope:["row"]}, group:{namefrom:[" author"], parent:["section"], pro perties:["aria-activedescendant"]},
432 heading:{namerequired:!0, parent:["sectionhead"], properties:["aria-level"]}, im g:{childpresentational:!0, namefrom:["author"], namerequired:!0, parent:["sectio n"]}, input:{"abstract":!0, namefrom:["author"], parent:["widget"]}, landmark:{" abstract":!0, namefrom:["contents", "author"], namerequired:!1, parent:["region" ]}, link:{namefrom:["contents", "author"], namerequired:!0, parent:["command"], properties:["aria-expanded"]}, list:{mustcontain:["group", "listitem"], namefrom :["author"], parent:["region"]}, 432 heading:{namerequired:!0, parent:["sectionhead"], properties:["aria-level"]}, im g:{childpresentational:!0, namefrom:["author"], namerequired:!0, parent:["sectio n"]}, input:{"abstract":!0, namefrom:["author"], parent:["widget"]}, landmark:{" abstract":!0, namefrom:["contents", "author"], namerequired:!1, parent:["region" ]}, link:{namefrom:["contents", "author"], namerequired:!0, parent:["command"], properties:["aria-expanded"]}, list:{mustcontain:["group", "listitem"], namefrom :["author"], parent:["region"]},
433 listbox:{mustcontain:["option"], namefrom:["author"], namerequired:!0, parent:[" list", "select"], properties:["aria-multiselectable", "aria-required"]}, listite m:{namefrom:["contents", "author"], namerequired:!0, parent:["section"], propert ies:["aria-level", "aria-posinset", "aria-setsize"], scope:["list"]}, log:{namef rom:[" author"], namerequired:!0, parent:["region"]}, main:{namefrom:["author"], parent:["landmark"]}, marquee:{namerequired:!0, parent:["section"]}, math:{chil dpresentational:!0, namefrom:["author"], 433 listbox:{mustcontain:["option"], namefrom:["author"], namerequired:!0, parent:[" list", "select"], properties:["aria-multiselectable", "aria-required"]}, listite m:{namefrom:["contents", "author"], namerequired:!0, parent:["section"], propert ies:["aria-level", "aria-posinset", "aria-setsize"], scope:["list"]}, log:{namef rom:[" author"], namerequired:!0, parent:["region"]}, main:{namefrom:["author"], parent:["landmark"]}, marquee:{namerequired:!0, parent:["section"]}, math:{chil dpresentational:!0, namefrom:["author"],
434 parent:["section"]}, menu:{mustcontain:["group", "menuitemradio", "menuitem", "m enuitemcheckbox"], namefrom:["author"], namerequired:!0, parent:["list", "select "]}, menubar:{namefrom:["author"], parent:["menu"]}, menuitem:{namefrom:["conten ts", "author"], namerequired:!0, parent:["command"], scope:["menu", "menubar"]}, menuitemcheckbox:{namefrom:["contents", "author"], namerequired:!0, parent:["ch eckbox", "menuitem"], scope:["menu", "menubar"]}, menuitemradio:{namefrom:["cont ents", "author"], namerequired:!0, 434 parent:["section"]}, menu:{mustcontain:["group", "menuitemradio", "menuitem", "m enuitemcheckbox"], namefrom:["author"], namerequired:!0, parent:["list", "select "]}, menubar:{namefrom:["author"], parent:["menu"]}, menuitem:{namefrom:["conten ts", "author"], namerequired:!0, parent:["command"], scope:["menu", "menubar"]}, menuitemcheckbox:{namefrom:["contents", "author"], namerequired:!0, parent:["ch eckbox", "menuitem"], scope:["menu", "menubar"]}, menuitemradio:{namefrom:["cont ents", "author"], namerequired:!0,
435 parent:["menuitemcheckbox", "radio"], scope:["menu", "menubar"]}, navigation:{na mefrom:["author"], parent:["landmark"]}, note:{namefrom:["author"], parent:["sec tion"]}, option:{namefrom:["contents", "author"], namerequired:!0, parent:["inpu t"], properties:["aria-checked", "aria-posinset", "aria-selected", "aria-setsize "]}, presentation:{parent:["structure"]}, progressbar:{childpresentational:!0, n amefrom:["author"], namerequired:!0, parent:["range"]}, radio:{namefrom:["conten ts", "author"], namerequired:!0, 435 parent:["menuitemcheckbox", "radio"], scope:["menu", "menubar"]}, navigation:{na mefrom:["author"], parent:["landmark"]}, note:{namefrom:["author"], parent:["sec tion"]}, option:{namefrom:["contents", "author"], namerequired:!0, parent:["inpu t"], properties:["aria-checked", "aria-posinset", "aria-selected", "aria-setsize "]}, presentation:{parent:["structure"]}, progressbar:{childpresentational:!0, n amefrom:["author"], namerequired:!0, parent:["range"]}, radio:{namefrom:["conten ts", "author"], namerequired:!0,
436 parent:["checkbox", "option"]}, radiogroup:{mustcontain:["radio"], namefrom:["au thor"], namerequired:!0, parent:["select"], properties:["aria-required"]}, range :{"abstract":!0, namefrom:["author"], parent:["widget"], properties:["aria-value max", "aria-valuemin", "aria-valuenow", "aria-valuetext"]}, region:{namefrom:[" author"], parent:["section"]}, roletype:{"abstract":!0, properties:"aria-atomic aria-busy aria-controls aria-describedby aria-disabled aria-dropeffect aria-flow to aria-grabbed aria-haspopup aria-hidden aria-invalid aria-label aria-labelledb y aria-live aria-owns aria-relevant".split(" ")}, 436 parent:["checkbox", "option"]}, radiogroup:{mustcontain:["radio"], namefrom:["au thor"], namerequired:!0, parent:["select"], properties:["aria-required"]}, range :{"abstract":!0, namefrom:["author"], parent:["widget"], properties:["aria-value max", "aria-valuemin", "aria-valuenow", "aria-valuetext"]}, region:{namefrom:[" author"], parent:["section"]}, roletype:{"abstract":!0, properties:"aria-atomic aria-busy aria-controls aria-describedby aria-disabled aria-dropeffect aria-flow to aria-grabbed aria-haspopup aria-hidden aria-invalid aria-label aria-labelledb y aria-live aria-owns aria-relevant".split(" ")},
437 row:{mustcontain:["columnheader", "gridcell", "rowheader"], namefrom:["contents" , "author"], parent:["group", "widget"], properties:["aria-level", "aria-selecte d"], scope:["grid", "rowgroup", "treegrid"]}, rowgroup:{mustcontain:["row"], nam efrom:["contents", "author"], parent:["group"], scope:["grid"]}, rowheader:{name from:["contents", "author"], namerequired:!0, parent:["gridcell", "sectionhead", "widget"], properties:["aria-sort"], scope:["row"]}, search:{namefrom:["author" ], parent:["landmark"]}, 437 row:{mustcontain:["columnheader", "gridcell", "rowheader"], namefrom:["contents" , "author"], parent:["group", "widget"], properties:["aria-level", "aria-selecte d"], scope:["grid", "rowgroup", "treegrid"]}, rowgroup:{mustcontain:["row"], nam efrom:["contents", "author"], parent:["group"], scope:["grid"]}, rowheader:{name from:["contents", "author"], namerequired:!0, parent:["gridcell", "sectionhead", "widget"], properties:["aria-sort"], scope:["row"]}, search:{namefrom:["author" ], parent:["landmark"]},
438 section:{"abstract":!0, namefrom:["contents", "author"], parent:["structure"], p roperties:["aria-expanded"]}, sectionhead:{"abstract":!0, namefrom:["contents", "author"], parent:["structure"], properties:["aria-expanded"]}, select:{"abstrac t":!0, namefrom:["author"], parent:["composite", "group", "input"]}, separator:{ childpresentational:!0, namefrom:["author"], parent:["structure"], properties:[" aria-expanded", "aria-orientation"]}, scrollbar:{childpresentational:!0, namefro m:["author"], namerequired:!1, 438 section:{"abstract":!0, namefrom:["contents", "author"], parent:["structure"], p roperties:["aria-expanded"]}, sectionhead:{"abstract":!0, namefrom:["contents", "author"], parent:["structure"], properties:["aria-expanded"]}, select:{"abstrac t":!0, namefrom:["author"], parent:["composite", "group", "input"]}, separator:{ childpresentational:!0, namefrom:["author"], parent:["structure"], properties:[" aria-expanded", "aria-orientation"]}, scrollbar:{childpresentational:!0, namefro m:["author"], namerequired:!1,
439 parent:["input", "range"], requiredProperties:["aria-controls", "aria-orientatio n", "aria-valuemax", "aria-valuemin", "aria-valuenow"], properties:["aria-contro ls", "aria-orientation", "aria-valuemax", "aria-valuemin", "aria-valuenow"]}, sl ider:{childpresentational:!0, namefrom:["author"], namerequired:!0, parent:["inp ut", "range"], requiredProperties:["aria-valuemax", "aria-valuemin", "aria-value now"], properties:["aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-orie ntation"]}, spinbutton:{namefrom:["author"], 439 parent:["input", "range"], requiredProperties:["aria-controls", "aria-orientatio n", "aria-valuemax", "aria-valuemin", "aria-valuenow"], properties:["aria-contro ls", "aria-orientation", "aria-valuemax", "aria-valuemin", "aria-valuenow"]}, sl ider:{childpresentational:!0, namefrom:["author"], namerequired:!0, parent:["inp ut", "range"], requiredProperties:["aria-valuemax", "aria-valuemin", "aria-value now"], properties:["aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-orie ntation"]}, spinbutton:{namefrom:["author"],
440 namerequired:!0, parent:["input", "range"], requiredProperties:["aria-valuemax", "aria-valuemin", "aria-valuenow"], properties:["aria-valuemax", "aria-valuemin" , "aria-valuenow", "aria-required"]}, status:{parent:["region"]}, structure:{"ab stract":!0, parent:["roletype"]}, tab:{namefrom:["contents", "author"], parent:[ "sectionhead", "widget"], properties:["aria-selected"], scope:["tablist"]}, tabl ist:{mustcontain:["tab"], namefrom:["author"], parent:["composite", "directory"] , properties:["aria-level"]}, 440 namerequired:!0, parent:["input", "range"], requiredProperties:["aria-valuemax", "aria-valuemin", "aria-valuenow"], properties:["aria-valuemax", "aria-valuemin" , "aria-valuenow", "aria-required"]}, status:{parent:["region"]}, structure:{"ab stract":!0, parent:["roletype"]}, tab:{namefrom:["contents", "author"], parent:[ "sectionhead", "widget"], properties:["aria-selected"], scope:["tablist"]}, tabl ist:{mustcontain:["tab"], namefrom:["author"], parent:["composite", "directory"] , properties:["aria-level"]},
441 tabpanel:{namefrom:["author"], namerequired:!0, parent:["region"]}, textbox:{nam efrom:["author"], namerequired:!0, parent:["input"], properties:["aria-activedes cendant", "aria-autocomplete", "aria-multiline", "aria-readonly", "aria-required "]}, timer:{namefrom:["author"], namerequired:!0, parent:["status"]}, toolbar:{n amefrom:["author"], parent:["group"]}, tooltip:{namerequired:!0, parent:["sectio n"]}, tree:{mustcontain:["group", "treeitem"], namefrom:["author"], namerequired :!0, parent:["select"], 441 tabpanel:{namefrom:["author"], namerequired:!0, parent:["region"]}, textbox:{nam efrom:["author"], namerequired:!0, parent:["input"], properties:["aria-activedes cendant", "aria-autocomplete", "aria-multiline", "aria-readonly", "aria-required "]}, timer:{namefrom:["author"], namerequired:!0, parent:["status"]}, toolbar:{n amefrom:["author"], parent:["group"]}, tooltip:{namerequired:!0, parent:["sectio n"]}, tree:{mustcontain:["group", "treeitem"], namefrom:["author"], namerequired :!0, parent:["select"],
442 properties:["aria-multiselectable", "aria-required"]}, treegrid:{mustcontain:["r ow"], namefrom:["author"], namerequired:!0, parent:["grid", "tree"]}, treeitem:{ namefrom:["contents", "author"], namerequired:!0, parent:["listitem", "option"], scope:["group", "tree"]}, widget:{"abstract":!0, parent:["roletype"]}, window:{ "abstract":!0, namefrom:[" author"], parent:["roletype"], properties:["aria-expa nded"]}}; 442 properties:["aria-multiselectable", "aria-required"]}, treegrid:{mustcontain:["r ow"], namefrom:["author"], namerequired:!0, parent:["grid", "tree"]}, treeitem:{ namefrom:["contents", "author"], namerequired:!0, parent:["listitem", "option"], scope:["group", "tree"]}, widget:{"abstract":!0, parent:["roletype"]}, window:{ "abstract":!0, namefrom:[" author"], parent:["roletype"], properties:["aria-expa nded"]}};
443 axs.constants.WIDGET_ROLES = {}; 443 axs.constants.WIDGET_ROLES = {};
444 axs.constants.addAllParentRolesToSet_ = function(a, b) { 444 axs.constants.addAllParentRolesToSet_ = function(a, b) {
445 if (a.parent) { 445 if (a.parent) {
446 for (var c = a.parent, d = 0;d < c.length;d++) { 446 for (var c = a.parent, d = 0;d < c.length;d++) {
447 var e = c[d]; 447 var e = c[d];
448 b[e] = !0; 448 b[e] = !0;
449 axs.constants.addAllParentRolesToSet_(axs.constants.ARIA_ROLES[e], b); 449 axs.constants.addAllParentRolesToSet_(axs.constants.ARIA_ROLES[e], b);
450 } 450 }
451 } 451 }
(...skipping 16 matching lines...) Expand all
468 axs.constants.addAllPropertiesToSet_(role, "properties", propertiesSet); 468 axs.constants.addAllPropertiesToSet_(role, "properties", propertiesSet);
469 role.propertiesSet = propertiesSet; 469 role.propertiesSet = propertiesSet;
470 var requiredPropertiesSet = {}; 470 var requiredPropertiesSet = {};
471 axs.constants.addAllPropertiesToSet_(role, "requiredProperties", requiredPrope rtiesSet); 471 axs.constants.addAllPropertiesToSet_(role, "requiredProperties", requiredPrope rtiesSet);
472 role.requiredPropertiesSet = requiredPropertiesSet; 472 role.requiredPropertiesSet = requiredPropertiesSet;
473 var parentRolesSet = {}; 473 var parentRolesSet = {};
474 axs.constants.addAllParentRolesToSet_(role, parentRolesSet); 474 axs.constants.addAllParentRolesToSet_(role, parentRolesSet);
475 role.allParentRolesSet = parentRolesSet; 475 role.allParentRolesSet = parentRolesSet;
476 "widget" in parentRolesSet && (axs.constants.WIDGET_ROLES[roleName] = role); 476 "widget" in parentRolesSet && (axs.constants.WIDGET_ROLES[roleName] = role);
477 } 477 }
478 axs.constants.ARIA_PROPERTIES = {activedescendant:{type:"property", valueType:"i dref"}, atomic:{defaultValue:"false", type:"property", valueType:"boolean"}, aut ocomplete:{defaultValue:"none", type:"property", valueType:"token", values:["inl ine", "list", "both", "none"]}, busy:{defaultValue:"false", type:"state", valueT ype:"boolean"}, checked:{defaultValue:"undefined", type:"state", valueType:"toke n", values:["true", "false", "mixed", "undefined"]}, controls:{type:"property", valueType:"idref_list"}, 478 axs.constants.ARIA_PROPERTIES = {activedescendant:{type:"property", valueType:"i dref"}, atomic:{defaultValue:"false", type:"property", valueType:"boolean"}, aut ocomplete:{defaultValue:"none", type:"property", valueType:"token", values:["inl ine", "list", "both", "none"]}, busy:{defaultValue:"false", type:"state", valueT ype:"boolean"}, checked:{defaultValue:"undefined", type:"state", valueType:"toke n", values:["true", "false", "mixed", "undefined"]}, controls:{type:"property", valueType:"idref_list"},
479 describedby:{type:"property", valueType:"idref_list"}, disabled:{defaultValue:"f alse", type:"state", valueType:"boolean"}, dropeffect:{defaultValue:"none", type :"property", valueType:"token_list", values:"copy move link execute popup none". split(" ")}, expanded:{defaultValue:"undefined", type:"state", valueType:"token" , values:["true", "false", "undefined"]}, flowto:{type:"property", valueType:"id ref_list"}, grabbed:{defaultValue:"undefined", type:"state", valueType:"token", values:["true", "false", 479 describedby:{type:"property", valueType:"idref_list"}, disabled:{defaultValue:"f alse", type:"state", valueType:"boolean"}, dropeffect:{defaultValue:"none", type :"property", valueType:"token_list", values:"copy move link execute popup none". split(" ")}, expanded:{defaultValue:"undefined", type:"state", valueType:"token" , values:["true", "false", "undefined"]}, flowto:{type:"property", valueType:"id ref_list"}, grabbed:{defaultValue:"undefined", type:"state", valueType:"token", values:["true", "false",
480 "undefined"]}, haspopup:{defaultValue:"false", type:"property", valueType:"boole an"}, hidden:{defaultValue:"false", type:"state", valueType:"boolean"}, invalid: {defaultValue:"false", type:"state", valueType:"token", values:["grammar", "fals e", "spelling", "true"]}, label:{type:"property", valueType:"string"}, labelledb y:{type:"property", valueType:"idref_list"}, level:{type:"property", valueType:" integer"}, live:{defaultValue:"off", type:"property", valueType:"token", values: ["off", "polite", "assertive"]}, 480 "undefined"]}, haspopup:{defaultValue:"false", type:"property", valueType:"boole an"}, hidden:{defaultValue:"false", type:"state", valueType:"boolean"}, invalid: {defaultValue:"false", type:"state", valueType:"token", values:["grammar", "fals e", "spelling", "true"]}, label:{type:"property", valueType:"string"}, labelledb y:{type:"property", valueType:"idref_list"}, level:{type:"property", valueType:" integer"}, live:{defaultValue:"off", type:"property", valueType:"token", values: ["off", "polite", "assertive"]},
481 multiline:{defaultValue:"false", type:"property", valueType:"boolean"}, multisel ectable:{defaultValue:"false", type:"property", valueType:"boolean"}, orientatio n:{defaultValue:"vertical", type:"property", valueType:"token", values:["horizon tal", "vertical"]}, owns:{type:"property", valueType:"idref_list"}, posinset:{ty pe:"property", valueType:"integer"}, pressed:{defaultValue:"undefined", type:"st ate", valueType:"token", values:["true", "false", "mixed", "undefined"]}, readon ly:{defaultValue:"false", 481 multiline:{defaultValue:"false", type:"property", valueType:"boolean"}, multisel ectable:{defaultValue:"false", type:"property", valueType:"boolean"}, orientatio n:{defaultValue:"vertical", type:"property", valueType:"token", values:["horizon tal", "vertical"]}, owns:{type:"property", valueType:"idref_list"}, posinset:{ty pe:"property", valueType:"integer"}, pressed:{defaultValue:"undefined", type:"st ate", valueType:"token", values:["true", "false", "mixed", "undefined"]}, readon ly:{defaultValue:"false",
482 type:"property", valueType:"boolean"}, relevant:{defaultValue:"additions text", type:"property", valueType:"token_list", values:["additions", "removals", "text" , "all"]}, required:{defaultValue:"false", type:"property", valueType:"boolean"} , selected:{defaultValue:"undefined", type:"state", valueType:"token", values:[" true", "false", "undefined"]}, setsize:{type:"property", valueType:"integer"}, s ort:{defaultValue:"none", type:"property", valueType:"token", values:["ascending ", "descending", "none", 482 type:"property", valueType:"boolean"}, relevant:{defaultValue:"additions text", type:"property", valueType:"token_list", values:["additions", "removals", "text" , "all"]}, required:{defaultValue:"false", type:"property", valueType:"boolean"} , selected:{defaultValue:"undefined", type:"state", valueType:"token", values:[" true", "false", "undefined"]}, setsize:{type:"property", valueType:"integer"}, s ort:{defaultValue:"none", type:"property", valueType:"token", values:["ascending ", "descending", "none",
483 "other"]}, valuemax:{type:"property", valueType:"decimal"}, valuemin:{type:"prop erty", valueType:"decimal"}, valuenow:{type:"property", valueType:"decimal"}, va luetext:{type:"property", valueType:"string"}}; 483 "other"]}, valuemax:{type:"property", valueType:"decimal"}, valuemin:{type:"prop erty", valueType:"decimal"}, valuenow:{type:"property", valueType:"decimal"}, va luetext:{type:"property", valueType:"string"}};
484 (function() { 484 (function() {
485 for (var a in axs.constants.ARIA_PROPERTIES) { 485 for (var a in axs.constants.ARIA_PROPERTIES) {
486 var b = axs.constants.ARIA_PROPERTIES[a]; 486 var b = axs.constants.ARIA_PROPERTIES[a];
487 if (b.values) { 487 if (b.values) {
488 for (var c = {}, d = 0;d < b.values.length;d++) { 488 for (var c = {}, d = 0;d < b.values.length;d++) {
489 c[b.values[d]] = !0; 489 c[b.values[d]] = !0;
490 } 490 }
491 b.valuesSet = c; 491 b.valuesSet = c;
492 } 492 }
493 } 493 }
494 })(); 494 })();
495 axs.constants.GLOBAL_PROPERTIES = axs.constants.ARIA_ROLES.roletype.propertiesSe t; 495 axs.constants.GLOBAL_PROPERTIES = axs.constants.ARIA_ROLES.roletype.propertiesSe t;
496 axs.constants.NO_ROLE_NAME = " "; 496 axs.constants.NO_ROLE_NAME = " ";
497 axs.constants.WIDGET_ROLE_TO_NAME = {alert:"aria_role_alert", alertdialog:"aria_ role_alertdialog", button:"aria_role_button", checkbox:"aria_role_checkbox", col umnheader:"aria_role_columnheader", combobox:"aria_role_combobox", dialog:"aria_ role_dialog", grid:"aria_role_grid", gridcell:"aria_role_gridcell", link:"aria_r ole_link", listbox:"aria_role_listbox", log:"aria_role_log", marquee:"aria_role_ marquee", menu:"aria_role_menu", menubar:"aria_role_menubar", menuitem:"aria_rol e_menuitem", menuitemcheckbox:"aria_role_menuitemcheckbox", 497 axs.constants.WIDGET_ROLE_TO_NAME = {alert:"aria_role_alert", alertdialog:"aria_ role_alertdialog", button:"aria_role_button", checkbox:"aria_role_checkbox", col umnheader:"aria_role_columnheader", combobox:"aria_role_combobox", dialog:"aria_ role_dialog", grid:"aria_role_grid", gridcell:"aria_role_gridcell", link:"aria_r ole_link", listbox:"aria_role_listbox", log:"aria_role_log", marquee:"aria_role_ marquee", menu:"aria_role_menu", menubar:"aria_role_menubar", menuitem:"aria_rol e_menuitem", menuitemcheckbox:"aria_role_menuitemcheckbox",
498 menuitemradio:"aria_role_menuitemradio", option:axs.constants.NO_ROLE_NAME, prog ressbar:"aria_role_progressbar", radio:"aria_role_radio", radiogroup:"aria_role_ radiogroup", rowheader:"aria_role_rowheader", scrollbar:"aria_role_scrollbar", s lider:"aria_role_slider", spinbutton:"aria_role_spinbutton", status:"aria_role_s tatus", tab:"aria_role_tab", tabpanel:"aria_role_tabpanel", textbox:"aria_role_t extbox", timer:"aria_role_timer", toolbar:"aria_role_toolbar", tooltip:"aria_rol e_tooltip", treeitem:"aria_role_treeitem"}; 498 menuitemradio:"aria_role_menuitemradio", option:axs.constants.NO_ROLE_NAME, prog ressbar:"aria_role_progressbar", radio:"aria_role_radio", radiogroup:"aria_role_ radiogroup", rowheader:"aria_role_rowheader", scrollbar:"aria_role_scrollbar", s lider:"aria_role_slider", spinbutton:"aria_role_spinbutton", status:"aria_role_s tatus", tab:"aria_role_tab", tabpanel:"aria_role_tabpanel", textbox:"aria_role_t extbox", timer:"aria_role_timer", toolbar:"aria_role_toolbar", tooltip:"aria_rol e_tooltip", treeitem:"aria_role_treeitem"};
499 axs.constants.STRUCTURE_ROLE_TO_NAME = {article:"aria_role_article", application :"aria_role_application", banner:"aria_role_banner", columnheader:"aria_role_col umnheader", complementary:"aria_role_complementary", contentinfo:"aria_role_cont entinfo", definition:"aria_role_definition", directory:"aria_role_directory", do cument:"aria_role_document", form:"aria_role_form", group:"aria_role_group", hea ding:"aria_role_heading", img:"aria_role_img", list:"aria_role_list", listitem:" aria_role_listitem", 499 axs.constants.STRUCTURE_ROLE_TO_NAME = {article:"aria_role_article", application :"aria_role_application", banner:"aria_role_banner", columnheader:"aria_role_col umnheader", complementary:"aria_role_complementary", contentinfo:"aria_role_cont entinfo", definition:"aria_role_definition", directory:"aria_role_directory", do cument:"aria_role_document", form:"aria_role_form", group:"aria_role_group", hea ding:"aria_role_heading", img:"aria_role_img", list:"aria_role_list", listitem:" aria_role_listitem",
500 main:"aria_role_main", math:"aria_role_math", navigation:"aria_role_navigation", note:"aria_role_note", region:"aria_role_region", rowheader:"aria_role_rowheade r", search:"aria_role_search", separator:"aria_role_separator"}; 500 main:"aria_role_main", math:"aria_role_math", navigation:"aria_role_navigation", note:"aria_role_note", region:"aria_role_region", rowheader:"aria_role_rowheade r", search:"aria_role_search", separator:"aria_role_separator"};
501 axs.constants.ATTRIBUTE_VALUE_TO_STATUS = [{name:"aria-autocomplete", values:{in line:"aria_autocomplete_inline", list:"aria_autocomplete_list", both:"aria_autoc omplete_both"}}, {name:"aria-checked", values:{"true":"aria_checked_true", "fals e":"aria_checked_false", mixed:"aria_checked_mixed"}}, {name:"aria-disabled", va lues:{"true":"aria_disabled_true"}}, {name:"aria-expanded", values:{"true":"aria _expanded_true", "false":"aria_expanded_false"}}, {name:"aria-invalid", values:{ "true":"aria_invalid_true", 501 axs.constants.ATTRIBUTE_VALUE_TO_STATUS = [{name:"aria-autocomplete", values:{in line:"aria_autocomplete_inline", list:"aria_autocomplete_list", both:"aria_autoc omplete_both"}}, {name:"aria-checked", values:{"true":"checked_true", "false":"c hecked_false", mixed:"checked_mixed"}}, {name:"aria-disabled", values:{"true":"a ria_disabled_true"}}, {name:"aria-expanded", values:{"true":"aria_expanded_true" , "false":"aria_expanded_false"}}, {name:"aria-invalid", values:{"true":"aria_in valid_true",
502 grammar:"aria_invalid_grammar", spelling:"aria_invalid_spelling"}}, {name:"aria- multiline", values:{"true":"aria_multiline_true"}}, {name:"aria-multiselectable" , values:{"true":"aria_multiselectable_true"}}, {name:"aria-pressed", values:{"t rue":"aria_pressed_true", "false":"aria_pressed_false", mixed:"aria_pressed_mixe d"}}, {name:"aria-readonly", values:{"true":"aria_readonly_true"}}, {name:"aria- required", values:{"true":"aria_required_true"}}, {name:"aria-selected", values: {"true":"aria_selected_true", 502 grammar:"aria_invalid_grammar", spelling:"aria_invalid_spelling"}}, {name:"aria- multiline", values:{"true":"aria_multiline_true"}}, {name:"aria-multiselectable" , values:{"true":"aria_multiselectable_true"}}, {name:"aria-pressed", values:{"t rue":"aria_pressed_true", "false":"aria_pressed_false", mixed:"aria_pressed_mixe d"}}, {name:"aria-readonly", values:{"true":"aria_readonly_true"}}, {name:"aria- required", values:{"true":"aria_required_true"}}, {name:"aria-selected", values: {"true":"aria_selected_true",
503 "false":"aria_selected_false"}}]; 503 "false":"aria_selected_false"}}];
504 axs.constants.INPUT_TYPE_TO_INFORMATION_TABLE_MSG = {button:"input_type_button", checkbox:"input_type_checkbox", color:"input_type_color", datetime:"input_type_ datetime", "datetime-local":"input_type_datetime_local", date:"input_type_date", email:"input_type_email", file:"input_type_file", image:"input_type_image", mon th:"input_type_month", number:"input_type_number", password:"input_type_password ", radio:"input_type_radio", range:"input_type_range", reset:"input_type_reset", search:"input_type_search", 504 axs.constants.INPUT_TYPE_TO_INFORMATION_TABLE_MSG = {button:"input_type_button", checkbox:"input_type_checkbox", color:"input_type_color", datetime:"input_type_ datetime", "datetime-local":"input_type_datetime_local", date:"input_type_date", email:"input_type_email", file:"input_type_file", image:"input_type_image", mon th:"input_type_month", number:"input_type_number", password:"input_type_password ", radio:"input_type_radio", range:"input_type_range", reset:"input_type_reset", search:"input_type_search",
505 submit:"input_type_submit", tel:"input_type_tel", text:"input_type_text", url:"i nput_type_url", week:"input_type_week"}; 505 submit:"input_type_submit", tel:"input_type_tel", text:"input_type_text", url:"i nput_type_url", week:"input_type_week"};
506 axs.constants.TAG_TO_INFORMATION_TABLE_VERBOSE_MSG = {A:"tag_link", BUTTON:"tag_ button", H1:"tag_h1", H2:"tag_h2", H3:"tag_h3", H4:"tag_h4", H5:"tag_h5", H6:"ta g_h6", LI:"tag_li", OL:"tag_ol", SELECT:"tag_select", TEXTAREA:"tag_textarea", U L:"tag_ul", SECTION:"tag_section", NAV:"tag_nav", ARTICLE:"tag_article", ASIDE:" tag_aside", HGROUP:"tag_hgroup", HEADER:"tag_header", FOOTER:"tag_footer", TIME: "tag_time", MARK:"tag_mark"}; 506 axs.constants.TAG_TO_INFORMATION_TABLE_VERBOSE_MSG = {A:"tag_link", BUTTON:"tag_ button", H1:"tag_h1", H2:"tag_h2", H3:"tag_h3", H4:"tag_h4", H5:"tag_h5", H6:"ta g_h6", LI:"tag_li", OL:"tag_ol", SELECT:"tag_select", TEXTAREA:"tag_textarea", U L:"tag_ul", SECTION:"tag_section", NAV:"tag_nav", ARTICLE:"tag_article", ASIDE:" tag_aside", HGROUP:"tag_hgroup", HEADER:"tag_header", FOOTER:"tag_footer", TIME: "tag_time", MARK:"tag_mark"};
507 axs.constants.TAG_TO_INFORMATION_TABLE_BRIEF_MSG = {BUTTON:"tag_button", SELECT: "tag_select", TEXTAREA:"tag_textarea"}; 507 axs.constants.TAG_TO_INFORMATION_TABLE_BRIEF_MSG = {BUTTON:"tag_button", SELECT: "tag_select", TEXTAREA:"tag_textarea"};
508 axs.constants.MIXED_VALUES = {"true":!0, "false":!0, mixed:!0}; 508 axs.constants.MIXED_VALUES = {"true":!0, "false":!0, mixed:!0};
509 axs.constants.Severity = {INFO:"Info", WARNING:"Warning", SEVERE:"Severe"}; 509 axs.constants.Severity = {INFO:"Info", WARNING:"Warning", SEVERE:"Severe"};
510 axs.constants.AuditResult = {PASS:"PASS", FAIL:"FAIL", NA:"NA"}; 510 axs.constants.AuditResult = {PASS:"PASS", FAIL:"FAIL", NA:"NA"};
511 axs.constants.InlineElements = {TT:!0, I:!0, B:!0, BIG:!0, SMALL:!0, EM:!0, STRO NG:!0, DFN:!0, CODE:!0, SAMP:!0, KBD:!0, VAR:!0, CITE:!0, ABBR:!0, ACRONYM:!0, A :!0, IMG:!0, OBJECT:!0, BR:!0, SCRIPT:!0, MAP:!0, Q:!0, SUB:!0, SUP:!0, SPAN:!0, BDO:!0, INPUT:!0, SELECT:!0, TEXTAREA:!0, LABEL:!0, BUTTON:!0}; 511 axs.constants.InlineElements = {TT:!0, I:!0, B:!0, BIG:!0, SMALL:!0, EM:!0, STRO NG:!0, DFN:!0, CODE:!0, SAMP:!0, KBD:!0, VAR:!0, CITE:!0, ABBR:!0, ACRONYM:!0, A :!0, IMG:!0, OBJECT:!0, BR:!0, SCRIPT:!0, MAP:!0, Q:!0, SUB:!0, SUP:!0, SPAN:!0, BDO:!0, INPUT:!0, SELECT:!0, TEXTAREA:!0, LABEL:!0, BUTTON:!0};
512 axs.constants.NATIVELY_DISABLEABLE = {BUTTON:!0, INPUT:!0, SELECT:!0, TEXTAREA:! 0, FIELDSET:!0, OPTGROUP:!0, OPTION:!0}; 512 axs.constants.NATIVELY_DISABLEABLE = {BUTTON:!0, INPUT:!0, SELECT:!0, TEXTAREA:! 0, FIELDSET:!0, OPTGROUP:!0, OPTION:!0};
513 axs.constants.ARIA_TO_HTML_ATTRIBUTE = {"aria-checked":"checked", "aria-disabled ":"disabled", "aria-hidden":"hidden", "aria-expanded":"open", "aria-valuemax":"m ax", "aria-valuemin":"min", "aria-readonly":"readonly", "aria-required":"require d", "aria-selected":"selected", "aria-valuenow":"value"}; 513 axs.constants.ARIA_TO_HTML_ATTRIBUTE = {"aria-checked":"checked", "aria-disabled ":"disabled", "aria-hidden":"hidden", "aria-expanded":"open", "aria-valuemax":"m ax", "aria-valuemin":"min", "aria-readonly":"readonly", "aria-required":"require d", "aria-selected":"selected", "aria-valuenow":"value"};
514 axs.constants.TAG_TO_IMPLICIT_SEMANTIC_INFO = {A:[{role:"link", allowed:"button checkbox menuitem menuitemcheckbox menuitemradio tab treeitem".split(" "), selec tor:"a[href]"}], ADDRESS:[{role:"", allowed:["contentinfo", "presentation"]}], A REA:[{role:"link", selector:"area[href]"}], ARTICLE:[{role:"article", allowed:[" presentation", "article", "document", "application", "main"]}], ASIDE:[{role:"co mplementary", allowed:["note", "complementary", "search", "presentation"]}], AUD IO:[{role:"", allowed:["application", 514 axs.constants.TAG_TO_IMPLICIT_SEMANTIC_INFO = {A:[{role:"link", allowed:"button checkbox menuitem menuitemcheckbox menuitemradio tab treeitem".split(" "), selec tor:"a[href]"}], ADDRESS:[{role:"", allowed:["contentinfo", "presentation"]}], A REA:[{role:"link", selector:"area[href]"}], ARTICLE:[{role:"article", allowed:[" presentation", "article", "document", "application", "main"]}], ASIDE:[{role:"co mplementary", allowed:["note", "complementary", "search", "presentation"]}], AUD IO:[{role:"", allowed:["application",
515 "presentation"]}], BASE:[{role:"", reserved:!0}], BODY:[{role:"document", allowe d:["presentation"]}], BUTTON:[{role:"button", allowed:["link", "menuitem", "menu itemcheckbox", "menuitemradio", "radio"], selector:'button:not([aria-pressed]):n ot([type="menu"])'}, {role:"button", allowed:["button"], selector:"button[aria-p ressed]"}, {role:"button", attributes:{"aria-haspopup":!0}, allowed:["link", "me nuitem", "menuitemcheckbox", "menuitemradio", "radio"], selector:'button[type="m enu"]'}], CAPTION:[{role:"", 515 "presentation"]}], BASE:[{role:"", reserved:!0}], BODY:[{role:"document", allowe d:["presentation"]}], BUTTON:[{role:"button", allowed:["link", "menuitem", "menu itemcheckbox", "menuitemradio", "radio"], selector:'button:not([aria-pressed]):n ot([type="menu"])'}, {role:"button", allowed:["button"], selector:"button[aria-p ressed]"}, {role:"button", attributes:{"aria-haspopup":!0}, allowed:["link", "me nuitem", "menuitemcheckbox", "menuitemradio", "radio"], selector:'button[type="m enu"]'}], CAPTION:[{role:"",
516 allowed:["presentation"]}], COL:[{role:"", reserved:!0}], COLGROUP:[{role:"", re served:!0}], DATALIST:[{role:"listbox", attributes:{"aria-multiselectable":!1}, allowed:["presentation"]}], DEL:[{role:"", allowed:["*"]}], DD:[{role:"", allowe d:["presentation"]}], DT:[{role:"", allowed:["presentation"]}], DETAILS:[{role:" group", allowed:["group", "presentation"]}], DIALOG:[{role:"dialog", allowed:"di alog alert alertdialog application log marquee status".split(" "), selector:"dia log[open]"}, {role:"dialog", 516 allowed:["presentation"]}], COL:[{role:"", reserved:!0}], COLGROUP:[{role:"", re served:!0}], DATALIST:[{role:"listbox", attributes:{"aria-multiselectable":!1}, allowed:["presentation"]}], DEL:[{role:"", allowed:["*"]}], DD:[{role:"", allowe d:["presentation"]}], DT:[{role:"", allowed:["presentation"]}], DETAILS:[{role:" group", allowed:["group", "presentation"]}], DIALOG:[{role:"dialog", allowed:"di alog alert alertdialog application log marquee status".split(" "), selector:"dia log[open]"}, {role:"dialog",
517 attributes:{"aria-hidden":!0}, allowed:"dialog alert alertdialog application log marquee status".split(" "), selector:"dialog:not([open])"}], DIV:[{role:"", all owed:["*"]}], DL:[{role:"list", allowed:["presentation"]}], EMBED:[{role:"", all owed:["application", "document", "img", "presentation"]}], FIGURE:[{role:"", all owed:["*"]}], FOOTER:[{role:"", allowed:["contentinfo", "presentation"]}], FORM: [{role:"form", allowed:["presentation"]}], P:[{role:"", allowed:["*"]}], PRE:[{r ole:"", allowed:["*"]}], 517 attributes:{"aria-hidden":!0}, allowed:"dialog alert alertdialog application log marquee status".split(" "), selector:"dialog:not([open])"}], DIV:[{role:"", all owed:["*"]}], DL:[{role:"list", allowed:["presentation"]}], EMBED:[{role:"", all owed:["application", "document", "img", "presentation"]}], FIGURE:[{role:"", all owed:["*"]}], FOOTER:[{role:"", allowed:["contentinfo", "presentation"]}], FORM: [{role:"form", allowed:["presentation"]}], P:[{role:"", allowed:["*"]}], PRE:[{r ole:"", allowed:["*"]}],
518 BLOCKQUOTE:[{role:"", allowed:["*"]}], H1:[{role:"heading"}], H2:[{role:"heading "}], H3:[{role:"heading"}], H4:[{role:"heading"}], H5:[{role:"heading"}], H6:[{r ole:"heading"}], HEAD:[{role:"", reserved:!0}], HEADER:[{role:"", allowed:["bann er", "presentation"]}], HR:[{role:"separator", allowed:["presentation"]}], HTML: [{role:"", reserved:!0}], IFRAME:[{role:"", allowed:["application", "document", "img", "presentation"], selector:"iframe:not([seamless])"}, {role:"", allowed:[" application", "document", 518 BLOCKQUOTE:[{role:"", allowed:["*"]}], H1:[{role:"heading"}], H2:[{role:"heading "}], H3:[{role:"heading"}], H4:[{role:"heading"}], H5:[{role:"heading"}], H6:[{r ole:"heading"}], HEAD:[{role:"", reserved:!0}], HEADER:[{role:"", allowed:["bann er", "presentation"]}], HR:[{role:"separator", allowed:["presentation"]}], HTML: [{role:"", reserved:!0}], IFRAME:[{role:"", allowed:["application", "document", "img", "presentation"], selector:"iframe:not([seamless])"}, {role:"", allowed:[" application", "document",
519 "img", "presentation", "group"], selector:"iframe[seamless]"}], IMG:[{role:"pres entation", reserved:!0, selector:'img[alt=""]'}, {role:"img", allowed:["*"], sel ector:'img[alt]:not([alt=""])'}], INPUT:[{role:"button", allowed:["link", "menui tem", "menuitemcheckbox", "menuitemradio", "radio"], selector:'input[type="butto n"]:not([aria-pressed])'}, {role:"button", allowed:["button"], selector:'input[t ype="button"][aria-pressed]'}, {role:"checkbox", allowed:["checkbox"], selector: 'input[type="checkbox"]'}, 519 "img", "presentation", "group"], selector:"iframe[seamless]"}], IMG:[{role:"pres entation", reserved:!0, selector:'img[alt=""]'}, {role:"img", allowed:["*"], sel ector:'img[alt]:not([alt=""])'}], INPUT:[{role:"button", allowed:["link", "menui tem", "menuitemcheckbox", "menuitemradio", "radio"], selector:'input[type="butto n"]:not([aria-pressed])'}, {role:"button", allowed:["button"], selector:'input[t ype="button"][aria-pressed]'}, {role:"checkbox", allowed:["checkbox"], selector: 'input[type="checkbox"]'},
520 {role:"", selector:'input[type="color"]'}, {role:"", selector:'input[type="date" ]'}, {role:"", selector:'input[type="datetime"]'}, {role:"textbox", selector:'in put[type="email"]:not([list])'}, {role:"", selector:'input[type="file"]'}, {role :"", reserved:!0, selector:'input[type="hidden"]'}, {role:"button", allowed:["bu tton"], selector:'input[type="image"][aria-pressed]'}, {role:"button", allowed:[ "link", "menuitem", "menuitemcheckbox", "menuitemradio", "radio"], selector:'inp ut[type="image"]:not([aria-pressed])'}, 520 {role:"", selector:'input[type="color"]'}, {role:"", selector:'input[type="date" ]'}, {role:"", selector:'input[type="datetime"]'}, {role:"textbox", selector:'in put[type="email"]:not([list])'}, {role:"", selector:'input[type="file"]'}, {role :"", reserved:!0, selector:'input[type="hidden"]'}, {role:"button", allowed:["bu tton"], selector:'input[type="image"][aria-pressed]'}, {role:"button", allowed:[ "link", "menuitem", "menuitemcheckbox", "menuitemradio", "radio"], selector:'inp ut[type="image"]:not([aria-pressed])'},
521 {role:"", selector:'input[type="month"]'}, {role:"", selector:'input[type="numbe r"]'}, {role:"textbox", selector:'input[type="password"]'}, {role:"radio", allow ed:["menuitemradio"], selector:'input[type="radio"]'}, {role:"slider", selector: 'input[type="range"]'}, {role:"button", selector:'input[type="reset"]'}, {role:" combobox", selector:'input[type="search"][list]'}, {role:"textbox", selector:'in put[type="search"]:not([list])'}, {role:"button", selector:'input[type="submit"] '}, {role:"combobox", 521 {role:"", selector:'input[type="month"]'}, {role:"", selector:'input[type="numbe r"]'}, {role:"textbox", selector:'input[type="password"]'}, {role:"radio", allow ed:["menuitemradio"], selector:'input[type="radio"]'}, {role:"slider", selector: 'input[type="range"]'}, {role:"button", selector:'input[type="reset"]'}, {role:" combobox", selector:'input[type="search"][list]'}, {role:"textbox", selector:'in put[type="search"]:not([list])'}, {role:"button", selector:'input[type="submit"] '}, {role:"combobox",
522 selector:'input[type="tel"][list]'}, {role:"textbox", selector:'input[type="tel" ]:not([list])'}, {role:"combobox", selector:'input[type="text"][list]'}, {role:" textbox", selector:'input[type="text"]:not([list])'}, {role:"textbox", selector: "input:not([type])"}, {role:"", selector:'input[type="time"]'}, {role:"combobox" , selector:'input[type="url"][list]'}, {role:"textbox", selector:'input[type="ur l"]:not([list])'}, {role:"", selector:'input[type="week"]'}], INS:[{role:"", all owed:["*"]}], KEYGEN:[{role:""}], 522 selector:'input[type="tel"][list]'}, {role:"textbox", selector:'input[type="tel" ]:not([list])'}, {role:"combobox", selector:'input[type="text"][list]'}, {role:" textbox", selector:'input[type="text"]:not([list])'}, {role:"textbox", selector: "input:not([type])"}, {role:"", selector:'input[type="time"]'}, {role:"combobox" , selector:'input[type="url"][list]'}, {role:"textbox", selector:'input[type="ur l"]:not([list])'}, {role:"", selector:'input[type="week"]'}], INS:[{role:"", all owed:["*"]}], KEYGEN:[{role:""}],
523 LABEL:[{role:"", allowed:["presentation"]}], LI:[{role:"listitem", allowed:"menu item menuitemcheckbox menuitemradio option tab treeitem presentation".split(" ") , selector:'ol:not([role="presentation"])>li, ul:not([role="presentation"])>li'} , {role:"listitem", allowed:"listitem menuitem menuitemcheckbox menuitemradio op tion tab treeitem presentation".split(" "), selector:'ol[role="presentation"]>li , ul[role="presentation"]>li'}], LINK:[{role:"link", reserved:!0, selector:"link [href]"}], MAIN:[{role:"", 523 LABEL:[{role:"", allowed:["presentation"]}], LI:[{role:"listitem", allowed:"menu item menuitemcheckbox menuitemradio option tab treeitem presentation".split(" ") , selector:'ol:not([role="presentation"])>li, ul:not([role="presentation"])>li'} , {role:"listitem", allowed:"listitem menuitem menuitemcheckbox menuitemradio op tion tab treeitem presentation".split(" "), selector:'ol[role="presentation"]>li , ul[role="presentation"]>li'}], LINK:[{role:"link", reserved:!0, selector:"link [href]"}], MAIN:[{role:"",
524 allowed:["main", "presentation"]}], MAP:[{role:"", reserved:!0}], MATH:[{role:"" , allowed:["presentation"]}], MENU:[{role:"toolbar", selector:'menu[type="toolba r"]'}], MENUITEM:[{role:"menuitem", selector:'menuitem[type="command"]'}, {role: "menuitemcheckbox", selector:'menuitem[type="checkbox"]'}, {role:"menuitemradio" , selector:'menuitem[type="radio"]'}], META:[{role:"", reserved:!0}], METER:[{ro le:"progressbar", allowed:["presentation"]}], NAV:[{role:"navigation", allowed:[ "navigation", "presentation"]}], 524 allowed:["main", "presentation"]}], MAP:[{role:"", reserved:!0}], MATH:[{role:"" , allowed:["presentation"]}], MENU:[{role:"toolbar", selector:'menu[type="toolba r"]'}], MENUITEM:[{role:"menuitem", selector:'menuitem[type="command"]'}, {role: "menuitemcheckbox", selector:'menuitem[type="checkbox"]'}, {role:"menuitemradio" , selector:'menuitem[type="radio"]'}], META:[{role:"", reserved:!0}], METER:[{ro le:"progressbar", allowed:["presentation"]}], NAV:[{role:"navigation", allowed:[ "navigation", "presentation"]}],
525 NOSCRIPT:[{role:"", reserved:!0}], OBJECT:[{role:"", allowed:["application", "do cument", "img", "presentation"]}], OL:[{role:"list", allowed:"directory group li stbox menu menubar tablist toolbar tree presentation".split(" ")}], OPTGROUP:[{r ole:"", allowed:["presentation"]}], OPTION:[{role:"option"}], OUTPUT:[{role:"sta tus", allowed:["*"]}], PARAM:[{role:"", reserved:!0}], PICTURE:[{role:"", reserv ed:!0}], PROGRESS:[{role:"progressbar", allowed:["presentation"]}], SCRIPT:[{rol e:"", reserved:!0}], 525 NOSCRIPT:[{role:"", reserved:!0}], OBJECT:[{role:"", allowed:["application", "do cument", "img", "presentation"]}], OL:[{role:"list", allowed:"directory group li stbox menu menubar tablist toolbar tree presentation".split(" ")}], OPTGROUP:[{r ole:"", allowed:["presentation"]}], OPTION:[{role:"option"}], OUTPUT:[{role:"sta tus", allowed:["*"]}], PARAM:[{role:"", reserved:!0}], PICTURE:[{role:"", reserv ed:!0}], PROGRESS:[{role:"progressbar", allowed:["presentation"]}], SCRIPT:[{rol e:"", reserved:!0}],
526 SECTION:[{role:"region", allowed:"alert alertdialog application contentinfo dial og document log marquee search status presentation".split(" ")}], SELECT:[{role: "listbox"}], SOURCE:[{role:"", reserved:!0}], SPAN:[{role:"", allowed:["*"]}], S TYLE:[{role:"", reserved:!0}], SVG:[{role:"", allowed:["application", "document" , "img", "presentation"]}], SUMMARY:[{role:"", allowed:["presentation"]}], TABLE :[{role:"", allowed:["*"]}], TEMPLATE:[{role:"", reserved:!0}], TEXTAREA:[{role: "textbox"}], TBODY:[{role:"rowgroup", 526 SECTION:[{role:"region", allowed:"alert alertdialog application contentinfo dial og document log marquee search status presentation".split(" ")}], SELECT:[{role: "listbox"}], SOURCE:[{role:"", reserved:!0}], SPAN:[{role:"", allowed:["*"]}], S TYLE:[{role:"", reserved:!0}], SVG:[{role:"", allowed:["application", "document" , "img", "presentation"]}], SUMMARY:[{role:"", allowed:["presentation"]}], TABLE :[{role:"", allowed:["*"]}], TEMPLATE:[{role:"", reserved:!0}], TEXTAREA:[{role: "textbox"}], TBODY:[{role:"rowgroup",
527 allowed:["*"]}], THEAD:[{role:"rowgroup", allowed:["*"]}], TFOOT:[{role:"rowgrou p", allowed:["*"]}], TITLE:[{role:"", reserved:!0}], TD:[{role:"", allowed:["*"] }], TH:[{role:"", allowed:["*"]}], TR:[{role:"", allowed:["*"]}], TRACK:[{role:" ", reserved:!0}], UL:[{role:"list", allowed:"directory group listbox menu menuba r tablist toolbar tree presentation".split(" ")}], VIDEO:[{role:"", allowed:["ap plication", "presentation"]}]}; 527 allowed:["*"]}], THEAD:[{role:"rowgroup", allowed:["*"]}], TFOOT:[{role:"rowgrou p", allowed:["*"]}], TITLE:[{role:"", reserved:!0}], TD:[{role:"", allowed:["*"] }], TH:[{role:"", allowed:["*"]}], TR:[{role:"", allowed:["*"]}], TRACK:[{role:" ", reserved:!0}], UL:[{role:"list", allowed:"directory group listbox menu menuba r tablist toolbar tree presentation".split(" ")}], VIDEO:[{role:"", allowed:["ap plication", "presentation"]}]};
528 axs.color = {}; 528 axs.color = {};
529 axs.color.Color = function(a, b, c, d) { 529 axs.color.Color = function(a, b, c, d) {
530 this.red = a; 530 this.red = a;
531 this.green = b; 531 this.green = b;
532 this.blue = c; 532 this.blue = c;
533 this.alpha = d; 533 this.alpha = d;
534 }; 534 };
535 axs.color.YCbCr = function(a) { 535 axs.color.YCbCr = function(a) {
536 this.luma = this.z = a[0]; 536 this.luma = this.z = a[0];
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 return axs; 2269 return axs;
2270 }); 2270 });
2271 2271
2272 // Define AMD module if possible, export globals otherwise. 2272 // Define AMD module if possible, export globals otherwise.
2273 if (typeof define !== 'undefined' && define.amd) { 2273 if (typeof define !== 'undefined' && define.amd) {
2274 define([], fn); 2274 define([], fn);
2275 } else { 2275 } else {
2276 var axs = fn.call(this); 2276 var axs = fn.call(this);
2277 } 2277 }
2278 2278
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698