/*! HTML_CodeSniffer - v2.0.7 - 2016-09-07 */ /** * +--------------------------------------------------------------------+ * | This HTML_CodeSniffer file is Copyright (c) | * | Squiz Pty Ltd (ABN 77 084 670 600) | * +--------------------------------------------------------------------+ * | IMPORTANT: Your use of this Software is subject to the terms of | * | the Licence provided in the file licence.txt. If you cannot find | * | this file please contact Squiz (www.squiz.com.au) so we may | * | provide you a copy. | * +--------------------------------------------------------------------+ */ (function (root, factory) { if (typeof define === 'function' && define.amd) { define(['htmlcs'], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { var exports = factory(); for (var prop in exports) { root[prop] = exports[prop]; } } }(this, function () { var _global = {} _global.HTMLCS_Section508={name:"Section508",description:"U.S. Section 508 Standard",sniffs:["A","B","C","D","G","H","I","J","K","L","M","N","O","P"],getMsgInfo:function(a){var b=a.split(".",3),c=b[1].toLowerCase(),d=[["Section","1194.22 ("+c+")"]];return d}},_global.HTMLCS_Section508_Sniffs_A={register:function(){return["_top","img","object","bgsound","audio"]},process:function(a,b){if(a===b)this.addNullAltTextResults(b),this.addMediaAlternativesResults(b);else{var c=a.nodeName.toLowerCase();"object"!==c&&"bgsound"!==c&&"audio"!==c||HTMLCS.addMessage(HTMLCS.NOTICE,a,"For multimedia containing audio only, ensure an alternative is available, such as a full text transcript.","Audio")}},testNullAltText:function(a){var b={img:{generalAlt:[],missingAlt:[],ignored:[],nullAltWithTitle:[],emptyAltInLink:[]},inputImage:{generalAlt:[],missingAlt:[]},area:{generalAlt:[],missingAlt:[]}};elements=HTMLCS.util.getAllElements(a,'img, area, input[type="image"]');for(var c=0;c0&&HTMLCS.addMessage(HTMLCS.NOTICE,b,'If content is hidden and made visible using scripting (such as "click to expand" sections), ensure this content is readable when scripts and style sheets are disabled.',"HiddenText")}},testPresentationMarkup:function(a){_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1.testPresentationMarkup(a)},testHeadingOrder:function(a){for(var b=0,c=HTMLCS.util.getAllElements(a,"h1, h2, h3, h4, h5, h6"),d=0;d1){var f="should be an h"+(b+1)+" to be properly nested";0===b&&(f="appears to be the primary document heading, so should be an h1 element"),HTMLCS.addMessage(HTMLCS.ERROR,c[d],"The heading structure is not logically nested. This h"+e+" element "+f+".","HeadingOrder")}b=e}}},_global.HTMLCS_Section508_Sniffs_G={register:function(){return["table"]},process:function(a,b){HTMLCS.util.isLayoutTable(a)===!0&&HTMLCS.addMessage(HTMLCS.NOTICE,a,"This table has no headers. If this is a data table, ensure row and column headers are identified using th elements.","TableHeaders")}},_global.HTMLCS_Section508_Sniffs_H={register:function(){return["table"]},process:function(a,b){for(var c=HTMLCS.util.testTableHeaders(a),d=0;d0&&HTMLCS.addMessage(HTMLCS.ERROR,a,"Not all th elements in this table contain an id attribute. These cells should contain ids so that they may be referenced by td elements' headers attributes.","MissingHeaderIds"),c.missingTd.length>0&&HTMLCS.addMessage(HTMLCS.ERROR,a,"Not all td elements in this table contain a headers attribute. Each headers attribute should list the ids of all th elements associated with that cell.","IncompleteHeadersAttrs")))}},_global.HTMLCS_Section508_Sniffs_I={register:function(){return["frame","iframe","object"]},process:function(a,b){var c=a.nodeName.toLowerCase(),d=a.hasAttribute("title"),e=!0;d===!0&&(e=HTMLCS.util.isStringEmpty(a.getAttribute("title"))),e===!0&&HTMLCS.addMessage(HTMLCS.ERROR,b,"This "+c+" element is missing title text. Frames should be titled with text that facilitates frame identification and navigation.","Frames")}},_global.HTMLCS_Section508_Sniffs_J={register:function(){return["_top"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,b,"Check that no component of the content flickers at a rate of greater than 2 and less than 55 times per second.","Flicker")}},_global.HTMLCS_Section508_Sniffs_K={register:function(){return["_top"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,b,"If this page cannot be made compliant, a text-only page with equivalent information or functionality should be provided. The alternative page needs to be updated in line with this page's content.","AltVersion")}},_global.HTMLCS_Section508_Sniffs_L={register:function(){return["_top"]},process:function(a,b){a===b&&(this.addProcessLinksMessages(b),this.testKeyboard(b))},addProcessLinksMessages:function(a){for(var b=this.processLinks(a),c=0;c1&&"#"===c.charAt(0)){var d=c.substr(1);try{var e=b;e.ownerDocument&&(e=e.ownerDocument);var f=e.getElementById(d);null===f&&(f=e.querySelector('a[name="'+d+'"]')),null!==f&&HTMLCS.util.contains(b,f)!==!1||(HTMLCS.isFullDoc(b)===!0||"body"===b.nodeName.toLowerCase()?HTMLCS.addMessage(HTMLCS.ERROR,a,'This link points to a named anchor "'+d+'" within the document, but no anchor exists with that name.',"NoSuchID"):HTMLCS.addMessage(HTMLCS.WARNING,a,'This link points to a named anchor "'+d+'" within the document, but no anchor exists with that name in the fragment tested.',"NoSuchIDFragment"))}catch(a){}}}}},_global.HTMLCS_Section508_Sniffs_P={register:function(){return["_top","meta"]},process:function(a,b){a===b?HTMLCS.addMessage(HTMLCS.NOTICE,b,"If a timed response is required on this page, alert the user and provide sufficient time to allow them to indicate that more time is required.","TimeLimit"):a.hasAttribute("http-equiv")===!0&&"refresh"===String(a.getAttribute("http-equiv")).toLowerCase()&&/^[1-9]\d*/.test(a.getAttribute("content").toLowerCase())===!0&&(/url=/.test(a.getAttribute("content").toLowerCase())===!0?HTMLCS.addMessage(HTMLCS.ERROR,a,"Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.","MetaRedirect"):HTMLCS.addMessage(HTMLCS.ERROR,a,"Meta refresh tag used to refresh the current page. Users cannot control the time limit for this refresh.","MetaRefresh"))}},_global.HTMLCS_WCAG2A={name:"WCAG2A",description:"Web Content Accessibility Guidelines (WCAG) 2.0 A",sniffs:[{standard:"WCAG2AAA",include:["Principle1.Guideline1_1.1_1_1","Principle1.Guideline1_2.1_2_1","Principle1.Guideline1_2.1_2_2","Principle1.Guideline1_2.1_2_3","Principle1.Guideline1_3.1_3_1","Principle1.Guideline1_3.1_3_1_A","Principle1.Guideline1_3.1_3_2","Principle1.Guideline1_3.1_3_3","Principle1.Guideline1_4.1_4_1","Principle1.Guideline1_4.1_4_2","Principle2.Guideline2_1.2_1_1","Principle2.Guideline2_1.2_1_2","Principle2.Guideline2_2.2_2_1","Principle2.Guideline2_2.2_2_2","Principle2.Guideline2_3.2_3_1","Principle2.Guideline2_4.2_4_1","Principle2.Guideline2_4.2_4_2","Principle2.Guideline2_4.2_4_3","Principle2.Guideline2_4.2_4_4","Principle3.Guideline3_1.3_1_1","Principle3.Guideline3_2.3_2_1","Principle3.Guideline3_2.3_2_2","Principle3.Guideline3_3.3_3_1","Principle3.Guideline3_3.3_3_2","Principle4.Guideline4_1.4_1_1","Principle4.Guideline4_1.4_1_2"]}],getMsgInfo:function(a){return HTMLCS_WCAG2AAA.getMsgInfo(a)}},_global.HTMLCS_WCAG2AA={name:"WCAG2AA",description:"Web Content Accessibility Guidelines (WCAG) 2.0 AA",sniffs:[{standard:"WCAG2AAA",include:["Principle1.Guideline1_1.1_1_1","Principle1.Guideline1_2.1_2_1","Principle1.Guideline1_2.1_2_2","Principle1.Guideline1_2.1_2_4","Principle1.Guideline1_2.1_2_5","Principle1.Guideline1_3.1_3_1","Principle1.Guideline1_3.1_3_1_A","Principle1.Guideline1_3.1_3_2","Principle1.Guideline1_3.1_3_3","Principle1.Guideline1_4.1_4_1","Principle1.Guideline1_4.1_4_2","Principle1.Guideline1_4.1_4_3","Principle1.Guideline1_4.1_4_3_F24","Principle1.Guideline1_4.1_4_3_Contrast","Principle1.Guideline1_4.1_4_4","Principle1.Guideline1_4.1_4_5","Principle2.Guideline2_1.2_1_1","Principle2.Guideline2_1.2_1_2","Principle2.Guideline2_2.2_2_1","Principle2.Guideline2_2.2_2_2","Principle2.Guideline2_3.2_3_1","Principle2.Guideline2_4.2_4_1","Principle2.Guideline2_4.2_4_2","Principle2.Guideline2_4.2_4_3","Principle2.Guideline2_4.2_4_4","Principle2.Guideline2_4.2_4_5","Principle2.Guideline2_4.2_4_6","Principle2.Guideline2_4.2_4_7","Principle3.Guideline3_1.3_1_1","Principle3.Guideline3_1.3_1_2","Principle3.Guideline3_2.3_2_1","Principle3.Guideline3_2.3_2_2","Principle3.Guideline3_2.3_2_3","Principle3.Guideline3_2.3_2_4","Principle3.Guideline3_3.3_3_1","Principle3.Guideline3_3.3_3_2","Principle3.Guideline3_3.3_3_3","Principle3.Guideline3_3.3_3_4","Principle4.Guideline4_1.4_1_1","Principle4.Guideline4_1.4_1_2"]}],getMsgInfo:function(a){return HTMLCS_WCAG2AAA.getMsgInfo(a)}},_global.HTMLCS_WCAG2AAA={name:"WCAG2AAA",description:"Web Content Accessibility Guidelines (WCAG) 2.0 AAA",sniffs:["Principle1.Guideline1_1.1_1_1","Principle1.Guideline1_2.1_2_1","Principle1.Guideline1_2.1_2_2","Principle1.Guideline1_2.1_2_4","Principle1.Guideline1_2.1_2_5","Principle1.Guideline1_2.1_2_6","Principle1.Guideline1_2.1_2_7","Principle1.Guideline1_2.1_2_8","Principle1.Guideline1_2.1_2_9","Principle1.Guideline1_3.1_3_1","Principle1.Guideline1_3.1_3_1_AAA","Principle1.Guideline1_3.1_3_2","Principle1.Guideline1_3.1_3_3","Principle1.Guideline1_4.1_4_1","Principle1.Guideline1_4.1_4_2","Principle1.Guideline1_4.1_4_3_F24","Principle1.Guideline1_4.1_4_3_Contrast","Principle1.Guideline1_4.1_4_6","Principle1.Guideline1_4.1_4_7","Principle1.Guideline1_4.1_4_8","Principle1.Guideline1_4.1_4_9","Principle2.Guideline2_1.2_1_1","Principle2.Guideline2_1.2_1_2","Principle2.Guideline2_2.2_2_2","Principle2.Guideline2_2.2_2_3","Principle2.Guideline2_2.2_2_4","Principle2.Guideline2_2.2_2_5","Principle2.Guideline2_3.2_3_2","Principle2.Guideline2_4.2_4_1","Principle2.Guideline2_4.2_4_2","Principle2.Guideline2_4.2_4_3","Principle2.Guideline2_4.2_4_5","Principle2.Guideline2_4.2_4_6","Principle2.Guideline2_4.2_4_7","Principle2.Guideline2_4.2_4_8","Principle2.Guideline2_4.2_4_9","Principle3.Guideline3_1.3_1_1","Principle3.Guideline3_1.3_1_2","Principle3.Guideline3_1.3_1_3","Principle3.Guideline3_1.3_1_4","Principle3.Guideline3_1.3_1_5","Principle3.Guideline3_1.3_1_6","Principle3.Guideline3_2.3_2_1","Principle3.Guideline3_2.3_2_2","Principle3.Guideline3_2.3_2_3","Principle3.Guideline3_2.3_2_4","Principle3.Guideline3_2.3_2_5","Principle3.Guideline3_3.3_3_1","Principle3.Guideline3_3.3_3_2","Principle3.Guideline3_3.3_3_3","Principle3.Guideline3_3.3_3_5","Principle3.Guideline3_3.3_3_6","Principle4.Guideline4_1.4_1_1","Principle4.Guideline4_1.4_1_2"],getMsgInfo:function(a){for(var b={Principle1:{name:"Perceivable",link:"http://www.w3.org/TR/WCAG20/#perceivable"},Principle2:{name:"Operable",link:"http://www.w3.org/TR/WCAG20/#operable"},Principle3:{name:"Understandable",link:"http://www.w3.org/TR/WCAG20/#understandable"},Principle4:{name:"Robust",link:"http://www.w3.org/TR/WCAG20/#robust"}},c={CR2:{name:"Full pages",landmark:"cc2",priority:0},CR3:{name:"Complete processes",landmark:"cc3",priority:0},CR4:{name:"Only Accessibility-Supported Ways of Using Technologies",landmark:"cc4",priority:0},CR5:{name:"Non-Interference",landmark:"cc5",priority:0},"1.1.1":{name:"Non-Text Content",landmark:"text-equiv-all",priority:1},"1.2.1":{name:"Audio-only and Video-only (Prerecorded)",landmark:"media-equiv-av-only-alt",priority:1},"1.2.2":{name:"Captions (Prerecorded)",landmark:"media-equiv-captions",priority:1},"1.2.3":{name:"Audio Description or Media Alternative (Prerecorded)",landmark:"media-equiv-audio-desc",priority:1},"1.2.4":{name:"Captions (Live)",landmark:"media-equiv-captions",priority:2},"1.2.5":{name:"Audio Description (Prerecorded)",landmark:"media-equiv-audio-desc",priority:2},"1.2.6":{name:"Sign Language (Prerecorded)",landmark:"media-equiv-sign",priority:3},"1.2.7":{name:"Extended Audio Description (Prerecorded)",landmark:"media-equiv-extended-ad",priority:3},"1.2.8":{name:"Media Alternative (Prerecorded)",landmark:"media-equiv-text-doc",priority:3},"1.2.9":{name:"Audio-only (Live)",landmark:"media-equiv-live-audio-only",priority:3},"1.3.1":{name:"Info and Relationships",landmark:"content-structure-separation-programmatic",priority:1},"1.3.2":{name:"Meaningful Sequence",landmark:"content-structure-separation-sequence",priority:1},"1.3.3":{name:"Sensory Characteristics",landmark:"content-structure-separation-understanding",priority:1},"1.4.1":{name:"Use of Colour",landmark:"visual-audio-contrast-without-color",priority:1},"1.4.2":{name:"Audio Control",landmark:"visual-audio-contrast-dis-audio",priority:1},"1.4.3":{name:"Contrast (Minimum)",landmark:"visual-audio-contrast-contrast",priority:1},"1.4.4":{name:"Resize Text",landmark:"visual-audio-contrast-scale",priority:1},"1.4.5":{name:"Images of Text",landmark:"visual-audio-contrast-text-presentation",priority:1},"1.4.6":{name:"Contrast (Enhanced)",landmark:"visual-audio-contrast7",priority:3},"1.4.7":{name:"Low or No Background Audio",landmark:"visual-audio-contrast-noaudio",priority:3},"1.4.8":{name:"Visual Presentation",landmark:"visual-audio-contrast-visual-presentation",priority:3},"1.4.9":{name:"Images of Text (No Exception)",landmark:"visual-audio-contrast-text-images",priority:3},"2.1.1":{name:"Keyboard",landmark:"keyboard-operation-keyboard-operable",priority:1},"2.1.2":{name:"No Keyboard Trap",landmark:"keyboard-operation-trapping",priority:1},"2.1.3":{name:"Keyboard (No Exception)",landmark:"keyboard-operation-all-funcs",priority:3},"2.2.1":{name:"Timing Adjustable",landmark:"time-limits-required-behaviors",priority:1},"2.2.2":{name:"Pause, Stop, Hide",landmark:"time-limits-pause",priority:1},"2.2.3":{name:"No Timing",landmark:"time-limits-no-exceptions",priority:3},"2.2.4":{name:"Interruptions",landmark:"time-limits-postponed",priority:3},"2.2.5":{name:"Re-authenticating",landmark:"time-limits-server-timeout",priority:3},"2.3.1":{name:"Three Flashes or Below Threshold",landmark:"seizure-does-not-violate",priority:1},"2.3.2":{name:"Three Flashes",landmark:"seizure-three-times",priority:3},"2.4.1":{name:"Bypass Blocks",landmark:"navigation-mechanisms-skip",priority:1},"2.4.2":{name:"Page Titled",landmark:"navigation-mechanisms-title",priority:1},"2.4.3":{name:"Focus Order",landmark:"navigation-mechanisms-focus-order",priority:1},"2.4.4":{name:"Link Purpose (In Context)",landmark:"navigation-mechanisms-refs",priority:1},"2.4.5":{name:"Multiple Ways",landmark:"navigation-mechanisms-mult-loc",priority:2},"2.4.6":{name:"Headings and Labels",landmark:"navigation-mechanisms-descriptive",priority:2},"2.4.7":{name:"Focus Visible",landmark:"navigation-mechanisms-focus-visible",priority:2},"2.4.8":{name:"Location",landmark:"navigation-mechanisms-location",priority:3},"2.4.9":{name:"Link Purpose (Link Only)",landmark:"navigation-mechanisms-link",priority:3},"2.4.10":{name:"Section Headings",landmark:"navigation-mechanisms-headings",priority:3},"3.1.1":{name:"Language of Page",landmark:"meaning-doc-lang-id",priority:1},"3.1.2":{name:"Language of Parts",landmark:"meaning-other-lang-id",priority:2},"3.1.3":{name:"Unusual Words",landmark:"meaning-idioms",priority:3},"3.1.4":{name:"Abbreviations",landmark:"meaning-located",priority:3},"3.1.5":{name:"Reading Level",landmark:"meaning-supplements",priority:3},"3.1.6":{name:"Pronunciation",landmark:"meaning-pronunciation",priority:3},"3.2.1":{name:"On Focus",landmark:"consistent-behavior-receive-focus",priority:1},"3.2.2":{name:"On Input",landmark:"consistent-behavior-unpredictable-change",priority:1},"3.2.3":{name:"Consistent Navigation",landmark:"consistent-behavior-consistent-locations",priority:2},"3.2.4":{name:"Consistent Navigation",landmark:"consistent-behavior-consistent-functionality",priority:2},"3.2.5":{name:"Change on Request",landmark:"consistent-behavior-no-extreme-changes-context",priority:3},"3.3.1":{name:"Error Identification",landmark:"minimize-error-identified",priority:1},"3.3.2":{name:"Labels or Instructions",landmark:"minimize-error-cues",priority:1},"3.3.3":{name:"Error Suggestion",landmark:"minimize-error-suggestions",priority:2},"3.3.4":{name:"Error Prevention (Legal, Financial, Data)",landmark:"minimize-error-reversible",priority:2},"3.3.5":{name:"Help",landmark:"minimize-error-context-help",priority:3},"3.3.6":{name:"Error Prevention (All)",landmark:"minimize-error-reversible-all",priority:3},"4.1.1":{name:"Parsing",landmark:"ensure-compat-parses",priority:1},"4.1.2":{name:"Name, Role, Value",landmark:"ensure-compat-rsv",priority:1}},d=a.split(".",5),e=d[1],f=d[3].split("_").slice(0,3).join("."),g=d[4].split(","),h=[],i=0;i'+g[i][0]+"");var j=['',f,": ",c[f].name,""].join(""),k=(['',b[e].name,""].join(""),[["Success Criterion",j],["Suggested Techniques",h.join(" ")]]);return k}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1={register:function(){return["_top","img"]},process:function(a,b){if(a===b)this.addNullAltTextResults(b),this.addMediaAlternativesResults(b);else{var c=a.nodeName.toLowerCase();switch(c){case"img":this.testLinkStutter(a),this.testLongdesc(a)}}},addNullAltTextResults:function(a){for(var b=this.testNullAltText(a),c=0;c0;){var e=b.shift();if(1===e.nodeType&&"img"===e.nodeName.toLowerCase()&&e.hasAttribute("alt")===!0){d=e.getAttribute("alt"),d=d?d.replace(/^\s+|\s+$/g,""):"";break}}return d}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_1={register:function(){return["object","embed","applet","bgsound","audio","video"]},process:function(a,b){var c=a.nodeName.toLowerCase();"video"!==c&&HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded audio only, and is not provided as an alternative for text content, check that an alternative text version is available.","G158"),"bgsound"!==c&&"audio"!==c&&HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded video only, and is not provided as an alternative for text content, check that an alternative text version is available, or an audio track is provided that presents equivalent information.","G159,G166")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_2={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded synchronised media and is not provided as an alternative for text content, check that captions are provided for audio content.","G87,G93")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_3={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded synchronised media and is not provided as an alternative for text content, check that an audio description of its video, and/or an alternative text version of the content is provided.","G69,G78,G173,G8")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_4={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains synchronised media, check that captions are provided for live audio content.","G9,G87,G93")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_5={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded synchronised media, check that an audio description is provided for its video content.","G78,G173,G8")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_6={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded synchronised media, check that a sign language interpretation is provided for its audio.","G54,G81")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_7={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains synchronised media, and where pauses in foreground audio is not sufficient to allow audio descriptions to convey the sense of pre-recorded video, check that an extended audio description is provided, either through scripting or an alternate version.","G8")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_8={register:function(){return["object","embed","applet","video"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains pre-recorded synchronised media or video-only content, check that an alternative text version of the content is provided.","G69,G159")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_9={register:function(){return["object","embed","applet","bgsound","audio"]},process:function(a,b){HTMLCS.addMessage(HTMLCS.NOTICE,a,"If this embedded object contains live audio-only content, check that an alternative text version of the content is provided.","G150,G151,G157")}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1_A={_labelNames:null,register:function(){return["_top"]},process:function(a,b){var c=HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1;a===b&&c.testHeadingOrder(b,HTMLCS.WARNING)}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1_AAA={_labelNames:null,register:function(){return["_top"]},process:function(a,b){var c=HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1;a===b&&c.testHeadingOrder(b,HTMLCS.ERROR)}},_global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1={_labelNames:null,register:function(){return["_top","p","div","input","select","textarea","button","table","fieldset","form","h1","h2","h3","h4","h5","h6"]},process:function(a,b){var c=a.nodeName.toLowerCase();if(a===b)this.testPresentationMarkup(b),this.testEmptyDupeLabelForAttrs(b);else switch(c){case"input":case"textarea":case"button":this.testLabelsOnInputs(a,b);break;case"form":this.testRequiredFieldsets(a);break;case"select":this.testLabelsOnInputs(a,b),this.testOptgroup(a);break;case"p":case"div":this.testNonSemanticHeading(a),this.testListsWithBreaks(a),this.testUnstructuredNavLinks(a);break;case"table":this.testGeneralTable(a),this.testTableHeaders(a),this.testTableCaptionSummary(a);break;case"fieldset":this.testFieldsetLegend(a);break;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":this.testEmptyHeading(a)}},testSemanticPresentationRole:function(a){if(a.hasAttribute("role")&&"presentation"===a.getAttribute("role")){var b=["div","span","b","i"],c=a.querySelectorAll("*:not("+b.join("):not(")+")");c=[].filter.call(c,function(a){return a.hasAttribute("role")===!1}),c.length&&HTMLCS.addMessage(HTMLCS.ERROR,a,'This element\'s role is "presentation" but contains child elements with semantic meaning.',"F92,ARIA4")}},testEmptyDupeLabelForAttrs:function(a){this._labelNames={};for(var b=a.getElementsByTagName("label"),c=0;c