{"dojo.a11y":{"meta":{"requires":{"common":["dojo.uri.*","dojo.html.common"]},"objects":{"dojo.a11y":{"meta":{"variables":["imgPath","doAccessibleCheck","accessible"]},"extra":{"variables":{"imgPath":{"type":"String","summary":"path to the test image for determining if images are displayed or not"},"doAccessibleCheck":{"type":"Boolean","summary":"if true will perform check for need to create accessible widgets"},"accessible":{"type":"Boolean","summary":"uninitialized when null (accessible check has not been performed) if true generate accessible widgets"}}}}},"functions":{"dojo.a11y.checkAccessible":{"meta":{"summary":"perform check for accessibility if accessibility checking is turned on and the accessibility test has not been performed yet","src":" \tif(this.accessible === null){ \n\t\t\tthis.accessible = false; \/\/default\n\t\t\tif(this.doAccessibleCheck == true){ \n\t\t\t\tthis.accessible = this.testAccessible();\n\t\t\t}\n\t\t}\n\t\treturn this.accessible; \/* Boolean *\/","instance_variables":["accessible","doAccessibleCheck"],"returns":"Boolean"}},"dojo.a11y.testAccessible":{"meta":{"summary":"Always perform the accessibility check to determine if high contrast mode is on or display of images are turned off. Currently only checks in IE and Mozilla.","src":" \tthis.accessible = false; \/\/default\n\t\tif (dojo.render.html.ie || dojo.render.html.mozilla){\n\t\t\tvar div = document.createElement(\"div\");\n\t\t\t\/\/div.style.color=\"rgb(153,204,204)\";\n\t\t\tdiv.style.backgroundImage = \"url(\\\"\" + this.imgPath + \"\/tab_close.gif\\\")\";\n\t\t\t\/\/ must add to hierarchy before can view currentStyle below\n\t\t\tdojo.body().appendChild(div);\n\t\t\t\/\/ in FF and IE the value for the current background style of the added div\n\t\t\t\/\/ will be \"none\" in high contrast mode\n\t\t\t\/\/ in FF the return value will be url(invalid-url:) when running over http \n\t\t\tvar bkImg = null;\n\t\t\tif (window.getComputedStyle  ) {\n\t\t\t\tvar cStyle = getComputedStyle(div, \"\"); \n\t\t\t\tbkImg = cStyle.getPropertyValue(\"background-image\");\n\t\t\t}else{\n\t\t\t\tbkImg = div.currentStyle.backgroundImage;\n\t\t\t}\n\t\t\tvar bUseImgElem = false;\n\t\t\tif (bkImg != null && (bkImg == \"none\" || bkImg == \"url(invalid-url:)\" )) {\n\t\t\t\tthis.accessible = true;\n\t\t\t}\n\t\t\t\/*\n\t\t\tif(this.accessible == false && document.images){\n\t\t\t\t\/\/ test if images are off in IE\n\t\t\t\tvar testImg = new Image();\n\t\t\t\tif(testImg.fileSize) {\n\t\t\t\t\ttestImg.src = this.imgPath + \"\/tab_close.gif\";\n\t\t\t\t\tif(testImg.fileSize < 0){ \n\t\t\t\t\t\tthis.accessible = true;\n\t\t\t\t\t}\n\t\t\t\t}\t\n\t\t\t}*\/\n\t\t\tdojo.body().removeChild(div);\n\t\t}\n\t\treturn this.accessible; \/* Boolean *\/","instance_variables":["accessible"],"returns":"Boolean"}},"dojo.a11y.setCheckAccessible":{"meta":{"summary":"Set whether or not to check for accessibility mode. Default value of module is true - perform check for accessibility modes.","parameters":{"bTest":{"type":"Boolean"}},"src":" \tthis.doAccessibleCheck = bTest;","instance_variables":["doAccessibleCheck"]},"extra":{"parameters":{"bTest":{"type":"Boolean","summary":"- true to check; false to turn off checking"}}}},"dojo.a11y.setAccessibleMode":{"meta":{"summary":"perform the accessibility check and sets the correct mode to load a11y widgets. Only runs if test for accessiiblity has not been performed yet. Call testAccessible() to force the test.","src":" \tif (this.accessible === null){\n\t\t\tif (this.checkAccessible()){\n\t\t\t\tdojo.render.html.prefixes.unshift(\"a11y\");\n\t\t\t}\n\t\t}\n\t\treturn this.accessible; \/* Boolean *\/","instance_variables":["accessible"],"returns":"Boolean"}}}}}}