PageSourceSearch

https://www.umw.edu/admissions/wp-content/plugins/wp-accessibility/js/wp-accessibility.min.js?ver=2.3.5

js umw.edu collected 2026-09-24 08:37:32 UTC 16,988 bytes, 1 lines download raw bytes

1(()=>{(()=>{"use strict";let m=document.querySelector("html"),y=document.querySelector("body"),h=[];if(wpa.lang&&(m.getAttribute("lang")||(m.setAttribute("lang",wpa.lang),(wpa.errors||wpa.tracking)&&(h.push("html-lang"),console.log("HTML language set by WP Accessibility")))),wpa.dir&&!m.getAttribute("dir")&&wpa.dir!=="ltr"&&(m.setAttributeattr("dir",wpa.dir),(wpa.errors||wpa.tracking)&&(h.push("html-lang-direction"),console.log("HTML language direction set by WP Accessibility"))),wpa.continue){let d=document.querySelectorAll(".wp-block-post-excerpt__more-link");d.length!==0&&d.forEach(t=>{if(!t.hasAttribute("aria-describedby")){let o=t.closest(".wp-block-post"),c=o.getAttribute("class");c=c.replaceAll(" ","-");let i=o.querySelector(".wp-block-post-title");i&&(i.hasAttribute("id")?c=i.getAttribute("id"):i.setAttribute("id",c),t.setAttribute("aria-describedby",c),(wpa.errors||wpa.tracking)&&console.log("Continue Reading link description set by WP Accessibility"))}})}let A=document.querySelector('meta[name="viewport"]');if(A&&wpa.viewport){let d=A.getAttribute("content"),t=A.getAttribute("content");d.search(/user-scalable=no/g)&&(t=d.replace("user-scalable=no","user-scalable=yes"),A.setAttribute("content",t),(wpa.errors||wpa.tracking)&&t!=d&&(h.push("viewport-scalable"),console.log("Viewport made scalable by WP Accessibility"))),d.search(/maximum-scale=1/g)&&(t=d.replace("maximum-scale=1","maximum-scale=5"),t=t.replace("maximum-scale=0","maximum-scale=5"),A.setAttribute("content",t),(wpa.errors||wpa.tracking)&&t!=d&&(h.push("viewport-maxscale"),console.log("Viewport maximum scale set by WP Accessibility")))}if(wpa.skiplinks.enabled&&(y.insertAdjacentHTML("afterbegin",wpa.skiplinks.output),(wpa.errors||wpa.tracking)&&(h.push("skiplinks"),console.log("Skip links added by WP Accessibility"))),wpa.current){let d=document.querySelectorAll(".current-menu-item a, .current_page_item a");d.length!==0&&(d.forEach(t=>{t.setAttribute("aria-current","page")}),(wpa.errors||wpa.tracking)&&(h.push("aria-current"),console.log("ARIA current added by WP Accessibility")))}if(wpa.labels&&["s","author","email","url","comment"].forEach(t=>{let o,c,i,a,e,r,f,s,n,l;t=="comment"?o=document.querySelectorAll("textarea[name="+t+"]"):o=document.querySelectorAll("input[name="+t+"]:not(#adminbar-search)"),o.length!==0&&o.forEach(b=>{b.length!==0&&(c=b.getAttribute("id"),i=b.closest("label"),a=b.getAttribute("aria-label"),e=b.getAttribute("aria-labelledby"),r={},e&&(r=document.getElementById(e)),f=!(a==null||a==""||typeof a>"u"),s=!(e==null||e==""||typeof e>"u"),(!f&&!s||!f&&s&&!r)&&(c?(n=document.querySelector("label[for="+c+"]"),n&&(l=n.innerText,n&&!l&&(n.innerText=wpa.wpalabels[t],(wpa.errors||wpa.tracking)&&(h.push(["empty-label",wpa.wpalabels[t]]),console.log("Empty label on "+wpa.wpalabels[t]+" added by WP Accessibility")))),!n&&!i&&(b.insertAdjacentHTML("beforebegin","<label for='"+c+"' class='wpa-screen-reader-text'>"+wpa.wpalabels[t]+"</label>"),(wpa.errors||wpa.tracking)&&(h.push(["explicit-label",wpa.wpalabels[t]]),console.log("Explicit label on "+wpa.wpalabels[t]+" added by WP Accessibility")))):i||(b.setAttribute("id","wpa_label_"+t),b.insertAdjacentHTML("beforebegin","<label for='wpa_label_"+t+"' class='wpa-screen-reader-text'>"+wpa.wpalabels[t]+"</label>"),(wpa.errors||wpa.tracking)&&(h.push(["implicit-label",wpa.wpalabels[t]]),console.log("Implicit label on "+wpa.wpalabels[t]+" added by WP Accessibility")))))})}),wpa.titles){let d=0,t=0,o=0,c=!1,i=document.querySelectorAll("img, a, input, textarea, select, button");i.length!==0&&(i.forEach(a=>{let e=a.getAttribute("title");if(a.classList.contains("nturl")&&(c=!0),e&&e!=="")switch(a.tagName){case"IMG":let r=a.getAttribute("alt");e=a.getAttribute("title"),!r||r===""?(a.setAttribute("alt",e),a.removeAttribute("title")):e===r&&a.removeAttribute("title"),d++;break;case"A":case"BUTTON":let f=L(a);if(!f||f===""){let k=a.getAttribute("aria-label");(!k||k==="")&&(a.setAttribute("aria-label",e),c||a.removeAttribute("title"))}else a.removeAttribute("title");t++;break;case"INPUT":case"SELECT":case"TEXTAREA":let s=a.getAttribute("aria-label"),n=a.getAttribute("aria-labelledby"),l=n?document.getElementById(n):!1,b=a.getAttribute("id"),g=b?document.querySelector('label[for="'+b+'"]'):!1,w=a.closest("label"),u=!!(s&&s!==""),p=!!(g&&L(g)!==""),x=!!(w&&L(w)!==""),E=!!(l&&L(l)!=="");u||p||x||E||a.setAttribute("aria-label",e),a.removeAttribute("title"),o++;break}}),(wpa.errors||wpa.tracking)&&(d>0&&(h.push(["images-titles",d]),console.log(d+" title attributes removed from images by WP Accessibility")),t>0&&(h.push(["control-titles",t]),console.log(t+" title attributes removed from links and buttons by WP Accessibility")),o>0&&(h.push(["input-titles",o]),console.log(o+" title attributes removed from input fields by WP Accessibility"))))}if(wpa.target){let d=document.querySelectorAll("a:not(.wpa-allow-target)"),t=0;
1d.length!==0&&(d.forEach(o=>{let c=o.getAttribute("target"),i=o.getAttribute("href");if(c)if(i.startsWith("#"))o.removeAttribute("target");else try{new URL(i).hostname.includes("facebook")||(o.removeAttribute("target"),t++)}catch{console.log("href value is not a URL or a fragment:",i)}}),t>0&&(wpa.errors||wpa.tracking)&&(h.push(["link-targets",t]),console.log(t+" target attributes removed from links by WP Accessibility")))}if(wpa.tabindex){let d=document.querySelectorAll("input:not(.wpa-ignore-tabindex),a[href]:not(.wpa-ignore-tabindex),select:not(.wpa-ignore-tabindex),textarea:not(.wpa-ignore-tabindex),button:not(.wpa-ignore-tabindex)"),t=0;d.length!==0&&(d.forEach(e=>{let r=e.getAttribute("tabindex"),f=!1;if(e.hasAttribute("tabindex")&&r==="-1"){let s=e.getAttribute("aria-hidden"),n=e.hasAttribute("hidden");(s==="true"||n)&&(f=!0)}r&&!f&&(e.removeAttribute("tabindex"),t++)}),t>0&&(wpa.errors||wpa.tracking)&&(h.push(["control-tabindex",t]),console.log(t+" tabindex attributes removed from links, buttons and inputs by WP Accessibility")));let o=document.querySelectorAll('[role="button"]:not([tabindex]):not(a):not(button)'),c=document.querySelectorAll('a[role="button"]:not([tabindex]):not([href])'),i=document.querySelectorAll('[role="link"]:not([tabindex]):not(a)'),a=document.querySelectorAll("a:not([href]):not([tabindex])");o.length!==0&&(o.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),o.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["button-add-tabindex",o.length]),console.log(o.length+" tabindex attributes added to divs with the button role by WP Accessibility"))),c.length!==0&&(c.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),c.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["link-add-tabindex",c.length]),console.log(c.length+" tabindex attributes added to anchor elements with the button role and no href value by WP Accessibility"))),i.length!==0&&(i.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),i.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["fakelink-add-tabindex",i.length]),console.log(i.length+" tabindex attributes added to elements with the link role not using the a element by WP Accessibility"))),a.length!==0&&(a.forEach(e=>{e.setAttribute("tabindex","0"),e.classList.add("wpa-focusable")}),a.length>0&&(wpa.errors||wpa.tracking)&&(h.push(["links-add-tabindex",a.length]),console.log(a.length+" tabindex attributes added to a with no href attribute by WP Accessibility")))}if(wpa.url!=="disabled"){let o=function(e,r,f="event"){e=JSON.stringify(e);let s=new FormData;s.append("action",wpa.action),s.append("security",wpa.security),s.append("stats",e),s.append("post_id",wpa.post_id),s.append("title",r),s.append("type",f),fetch(wpa.ajaxurl,{method:"POST",body:s})};class d{constructor(r){var f=Array.prototype.forEach,s=Array.prototype.map;this.each=function(n,l,b){if(n!=null){if(f&&n.forEach===f)n.forEach(l,b);else if(n.length===+n.length){for(var g=0,w=n.length;g<w;g++)if(JSON.stringify(l.call(b,n[g],g,n))==="{}")return}else for(var u in n)if(n.hasOwnProperty(u)&&JSON.stringify(l.call(b,n[u],u,n))==="{}")return}},this.map=function(n,l,b){var g=[];return n==null?g:s&&n.map===s?n.map(l,b):(this.each(n,function(w,u,p){g[g.length]=l.call(b,w,u,p)}),g)},r&&(this.hasher=r)}get(){let r=[];r.push(navigator.userAgent),r.push([screen.height,screen.width,screen.colorDepth].join("x")),r.push(new Date().getTimezoneOffset()),r.push(!!window.sessionStorage),r.push(!!window.localStorage);var f=this.map(navigator.plugins,function(s){var n=this.map(s,function(l){return[l.type,l.suffixes].join("~")}).join(",");return[s.name,s.description,n].join("::")},this).join(";");return r.push(f),this.hasher?this.hasher(r.join("###"),31):this.murmurhash3_32_gc(r.join("###"),31)}murmurhash3_32_gc(r,f){let s,n,l,b,g,w,u,p;for(s=r.length&3,n=r.length-s,l=f,g=3432918353,w=461845907,p=0;p<n;)u=r.charCodeAt(p)&255|(r.charCodeAt(++p)&255)<<8|(r.charCodeAt(++p)&255)<<16|(r.charCodeAt(++p)&255)<<24,++p,u=(u&65535)*g+(((u>>>16)*g&65535)<<16)&4294967295,u=u<<15|u>>>17,u=(u&65535)*w+(((u>>>16)*w&65535)<<16)&4294967295,l^=u,l=l<<13|l>>>19,b=(l&65535)*5+(((l>>>16)*5&65535)<<16)&4294967295,l=(b&65535)+27492+(((b>>>16)+58964&65535)<<16);switch(u=0,s){case 3:u^=(r.charCodeAt(p+2)&255)<<16;case 2:u^=(r.charCodeAt(p+1)&255)<<8;case 1:u^=r.charCodeAt(p)&255,u=(u&65535)*g+(((u>>>16)*g&65535)<<16)&4294967295,u=u<<15|u>>>17,u=(u&65535)*w+(((u>>>16)*w&65535)<<16)&4294967295,l^=u}return l^=r.length,l^=l>>>16,l=(l&65535)*2246822507+(((l>>>16)*2246822507&65535)<<16)&4294967295,l^=l>>>13,l=(l&65535)*3266489909+(((l>>>16)*3266489909&65535)<<16)&4294967295,l^=l>>>16,l>>>0}}let t=new d().get(),c=document.querySelector(".toggle-contrast");c&&c.addEventListener("click",function(){let e;this.getAttribute("data-id")=="is_normal_contrast"?e={contrast:"disabled"}:e={contrast:"enabled"},o(e,t)});let i=document.querySelector(".toggle-fontsize");i&&i.addEventListener("click",function(){let e;this.getAttribute("data-id")=="is_normal_fontsize"?e={fontsize:"disabled"}:e={fontsize:"enabled"},o(e,t)}),v(".wpa-ld button").then(e=>{e.addEventListener("click",function(r){if(e.getAttribute("aria-expanded")==="true"){let l={longdesc:e.closest("div").getAttribute("class").replace("wpa-ld wp-image-","")};o(l,t)}})});let a=document.querySelectorAll(".wpa-alt button");a.length>
10&&a.forEach(e=>{e.addEventListener("click",function(r){if(e.getAttribute("aria-expanded")==="true"){let l={alttext:e.closest("div").getAttribute("class").replace("wpa-alt wp-image-","")};o(l,t)}})}),wpa.tracking&&h.length>=1&&o(h,wpa.url,"view")}if(wpa.underline.enabled){let d=document.querySelectorAll(wpa.underline.target+":not(nav "+wpa.underline.target+"):not(#wpadminbar a), .wpa-focusable[role=link]");d.length>0&&d.forEach(t=>{let o=t.style.outlineWidth,c=t.style.outlineOffset,i=t.style.color,a=t.style.outlineColor;t.style.textDecoration="underline",t.addEventListener("mouseenter",function(){this.style.textDecoration="none"}),t.addEventListener("mouseleave",function(){this.style.textDecoration="underline"}),t.addEventListener("focusin",function(){let e="2px";o=="2px"&&(e="4px"),this.style.outlineWidth=e,this.style.outlineColor=i,this.style.outlineOffset="2px"}),t.addEventListener("focusout",function(){this.style.outlineWidth=o,this.style.outlineColor=a,this.style.outlineOffset=c})})}if(wpa.videos){let d=matchMedia("(prefers-reduced-motion)"),t="false",o=document.querySelectorAll("video[autoplay]:not([controls])");o.length>0&&o.forEach(c=>{d.matches&&(c.pause(),t="true");let i=c.parentElement,a=document.createElement("button"),e=document.createElement("span"),r=document.createElement("span");a.setAttribute("type","button"),a.classList.add("wpa-video"),a.setAttribute("aria-pressed",t),e.classList.add("dashicons-controls-pause","dashicons"),e.setAttribute("aria-hidden","true"),r.classList.add("screen-reader-text"),r.innerText=wpa.pause,a.append(e,r),i.append(a),a.addEventListener("click",function(){let f=this.getAttribute("aria-pressed");console.log(f),f==="true"?(c.play(),this.setAttribute("aria-pressed","false")):(c.pause(),this.setAttribute("aria-pressed","true"))})})}if(wpa.alt){let d=wpa.altSelector?wpa.altSelector:'.hentry img[alt]:not([alt=""]), .comment-content img[alt]:not([alt=""]), #content img[alt]:not([alt=""]),.entry-content img[alt]:not([alt=""])',t=document.querySelectorAll(d),o=(c,i)=>{c.parentElement.insertBefore(i,c),i.appendChild(c)};t.forEach(c=>{let i=c,a=i.closest("a"),e=i.closest("button"),r=!!a,f=!!e,s=i.width,n=i.height;if((s||n)&&(s=s||56,n=n||56,n*s<150*300||c.classList.contains("wpa-skip")||
1c.closest(".wpa-skip")))return;let l=i.getAttribute("alt"),b=[...i.classList];i.setAttribute("class","");let g=document.createElement("div");g.classList.add("wpa-alt"),o(r||f?r?a:e:i,g),b.forEach(p=>{g.classList.add(p)}),g.insertAdjacentHTML("afterbegin",'<button aria-expanded="false" type="button" class="wpa-toggle">alt</button>'),g.insertAdjacentHTML("beforeend",'<div class="wpa-alt-text"></div>');let w=g.querySelector(".wpa-alt-text");w.style.display="none",w.innerText=l,g.querySelector("button").addEventListener("click",function(p){w.checkVisibility()?(this.setAttribute("aria-expanded","false"),w.style.display="none"):(this.setAttribute("aria-expanded","true"),w.style.display="block")})})}if(wpa.ldType){let o=function(i){let a=i.getAttribute("class"),e=i.getAttribute("id"),r;e&&e.includes("longdesc")?r=e.replace("longdesc-return-",""):((a===null||a==="")&&(parent=i.closest(".wpa-alt"),a=parent.getAttribute("class").replace("wpa-alt ","")),r=a.replace("wp-image-",""));let f=wpa.restUrl+"/"+r;fetch(f).then(s=>s.json()).then(s=>{let n=s.description.rendered;if(n=n.replace(/(<([^>]+)>)/gi,"").trim(),n!==""){let l=new URL(wpa.ldHome);l.searchParams.set("longdesc",r),l.searchParams.set("p",r),l.toString(),c(i,r,l,n)}}).catch(s=>{console.log(s)})},c=function(i,a,e,r){let f=document.createElement("div");f.classList.add("wpa-ld");let s=i.getAttribute("alt");s===""&&(s="<code>"+i.getAttribute("src").replace(wpa.ldHome,"")+"</code>");let n=document.body.className.split(/\s+/),l="";n.forEach(p=>{p.match(/postid-/gi)&&(l=p.replace("postid-","",p)),p.match(/page-id-/gi)&&(l=p.replace("page-id-","",p))});let b=new URL(e);b.searchParams.set("referrer",l),b.toString(),[...i.classList].forEach(p=>{f.classList.add(p)}),d(i,f),i.setAttribute("alt",""),i.setAttribute("class","");let w=document.createElement("a");w.setAttribute("href",b),w.classList.add("longdesc-link");let u=document.createElement("span");if(u.classList.add("screen-reader-text"),u.textContent=" of "+s,w.textContent="Description",w.appendChild(u),wpa.ldType==="link")f.insertAdjacentElement("beforeend",w);else{f.insertAdjacentHTML("beforeend",'<button aria-expanded="false" class="wpa-toggle">'+wpa.ldText+"</button>"),f.insertAdjacentHTML("beforeend",'<div class="longdesc"></div>');let p=f.querySelector(".longdesc");p.style.display="none",fetch(e).then(x=>{if(x.ok)return x.text();p.insertAdjacentHTML("beforeend",r)}).then(x=>{let k=new DOMParser().parseFromString(x,"text/html");p.insertAdjacentElement("beforeend",k.querySelector("#desc_"+a))}),f.querySelector("button").addEventListener("click",function(x){p.checkVisibility()?(this.setAttribute("aria-expanded","false"),p.style.display="none"):(this.setAttribute("aria-expanded","true"),p.style.display="block")})}},d=(i,a)=>{i.parentElement.insertBefore(a,i),a.appendChild(i)},t=document.querySelectorAll("img[longdesc]");if(wpa.ldType==="link"){t.length>0&&t.forEach(a=>{let e=document.createElement("div");e.classList.add("wpa-ld");let r=a.getAttribute("longdesc"),f=a.getAttribute("alt"),s=[...a.classList];d(a,e),s.forEach(b=>{e.classList.add(b)}),a.setAttribute("class","");let n=document.createElement("a");n.setAttribute("href",r),n.classList.add("longdesc-link");let l=document.createElement("span");l.classList.add("screen-reader-text"),l.textContent=" of "+f,n.textContent="Description",n.appendChild(l),a.insertAdjacentElement("afterend",n)});let i=document.querySelectorAll("figure.is-style-longdesc");i.length>0&&i.forEach(a=>{let e=a.querySelector("img");o(e)})}else{t.length>0&&t.forEach(a=>{o(a)});let i=document.querySelectorAll("figure.is-style-longdesc");i.length>0&&i.forEach(a=>{let e=a.querySelector("img");o(e)})}}})();function L(m){let y="";if(m.nodeType===3||m.nodeType===4)y=m.nodeValue;else if(m.nodeType===1&&(m.tagName.toLowerCase()=="img"||m.tagName.toLowerCase()=="area"||m.tagName.toLowerCase()=="input"&&m.getAttribute("type")&&m.getAttribute("type").toLowerCase()=="image"))y=m.getAttribute("alt")||"";else if(m.nodeType===1&&!m.tagName.match(/^(script|style)$/i)){let h=m.childNodes;for(let A=0,d=h.length;A<d;A++){let t=m.getAttribute("aria-label");y+=t||L(h[A])+" "}}return y}function v(m){return new Promise(y=>{if(document.querySelector(m))return y(document.querySelector(m));let h=new MutationObserver(A=>{document.querySelector(m)&&(h.disconnect(),y(document.querySelector(m)))});h.observe(document.body,{childList:!0,subtree:!0})})}})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.