Sha256: ee402ff9b6ce47b32d4094ad5616e4da80ae05a74f30812918e89c412387b161
Contents?: true
Size: 309 Bytes
Versions: 375
Compression:
Stored size: 309 Bytes
Contents
const tracks = axe.utils.querySelectorAll(virtualNode, 'track'); const hasCaptions = tracks.some( ({ actualNode }) => (actualNode.getAttribute('kind') || '').toLowerCase() === 'captions' ); // Undefined if there are no tracks - media may use another caption method return hasCaptions ? false : undefined;
Version data entries
375 entries across 375 versions & 1 rubygems