Sha256: 674577cf1da4526caa903700193c1d93599a475cc71e0a055e914b66477cd568
Contents?: true
Size: 324 Bytes
Versions: 114
Compression:
Stored size: 324 Bytes
Contents
/* global aria */ /** * Get the text value of aria-label, if any * * @param {VirtualNode|Element} element * @return {string} ARIA label */ aria.arialabelText = function arialabelText(node) { node = node.actualNode || node; if (node.nodeType !== 1) { return ''; } return node.getAttribute('aria-label') || ''; };
Version data entries
114 entries across 114 versions & 1 rubygems