Sha256: eb08e6a981ffd7b09e7c8dfb15ebafdaf7c4aa8d9ff18211aeafe69dfd668081
Contents?: true
Size: 564 Bytes
Versions: 260
Compression:
Stored size: 564 Bytes
Contents
/** * Note: `identical-links-same-purpose-after` fn, helps reconcile the results */ const { dom, text } = axe.commons; const accText = text.accessibleTextVirtual(virtualNode); const name = text .sanitize( text.removeUnicode(accText, { emoji: true, nonBmp: true, punctuations: true }) ) .toLowerCase(); if (!name) { return undefined; } /** * Set `data` and `relatedNodes` for use in `after` fn */ const afterData = { name, urlProps: dom.urlPropsFromAttribute(node, 'href') }; this.data(afterData); this.relatedNodes([node]); return true;
Version data entries
260 entries across 260 versions & 1 rubygems