Sha256: 96c2ea4c8406549478ade5f301f329575f5cd5dc4b13f7cd4be813502d38a646
Contents?: true
Size: 487 Bytes
Versions: 375
Compression:
Stored size: 487 Bytes
Contents
var labelText = axe.commons.text.labelVirtual(virtualNode), check = node.getAttribute('title'); if (!labelText) { return false; } if (!check) { check = ''; if (node.getAttribute('aria-describedby')) { var ref = axe.commons.dom.idrefs(node, 'aria-describedby'); check = ref .map(function(thing) { return thing ? axe.commons.text.accessibleText(thing) : ''; }) .join(''); } } return ( axe.commons.text.sanitize(check) === axe.commons.text.sanitize(labelText) );
Version data entries
375 entries across 375 versions & 1 rubygems