Home | History | Annotate | Download | only in chromevox

Lines Matching refs:getHint

771 cvox.DomUtil.doesInputSupportSelection=function(a){return goog.isDef(a)&&"INPUT"==a.tagName&&"email"!=a.type&&"number"!=a.type};cvox.DomUtil.getHint=function(a){var b="";if(a.hasAttribute&&a.hasAttribute("aria-describedby")){a=a.getAttribute("aria-describedby").split(" ");for(var c,d=0;c=a[d];d++)(c=document.getElementById(c))&&(b+=" "+cvox.DomUtil.getName(c,!0,!0,!0))}return b};cvox.BuildInfo={};cvox.BuildInfo.build="development build";"undefined"!=typeof goog&&goog.provide&&(cvox.ApiUtil={});window.cvox||(window.cvox={});cvox.ApiUtils=function(){};cvox.ApiUtils.nextCvoxId_=1;
1014 cvox.DescriptionUtil.getDescriptionFromAncestors=function(a,b,c){"undefined"===typeof b&&(b=!0);var d=a.length,e="",f="",g="",h="",k=[],l=null,n="";0<d&&(f=cvox.DomUtil.getName(a[d-1],b),g=cvox.DomUtil.getValue(a[d-1]));for(b=d-1;0<=b;b--){var p=a[b],n=cvox.DomUtil.getHint(p),q=p.getAttribute?p.getAttribute("role"):null;if("alertdialog"!=q){q=cvox.DomUtil.getRole(p,c);l||(l=cvox.AuralStyleUtil.getStyleForNode(p));if(b<d-1&&p.hasAttribute("role")){var m=cvox.DomUtil.getName(p,!1);m&&(q=m+" "+q)}0<