Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1x 113x 113x 113x 113x 113x 113x 113x 113x 113x 113x 113x | /** * @internal */ export function createAriaLiveElement(document: Document): HTMLDivElement { const div = document.createElement('div'); div.style.clip = 'rect(0px, 0px, 0px, 0px)'; div.style.clipPath = 'inset(100%)'; div.style.height = '1px'; div.style.overflow = 'hidden'; div.style.position = 'absolute'; div.style.whiteSpace = 'nowrap'; div.style.width = '1px'; div.ariaLive = 'assertive'; document.body.appendChild(div); return div; } |