Accessibility / Live Regions / Live Region Monitor

The Live Region Monitor bookmarklet watches for updates to aria-live and role="alert" regions. Finds all live regions on the page, uses MutationObserver to monitor DOM changes, logs new text content with timestamps as it appears, deduplicates identical messages, and displays a scrolling panel in the top-right corner showing all live region announcements. Useful for debugging dynamic content announcements and verifying that live regions work correctly. Run again to close.

WCAG SC 4.1.3: Status Messages
Run Live Region Monitor

Test run or drag to
bookmarklets bar to install

javascript:%21function()%7B%22use%20strict%22%3Btry%7Bconst%20e%3D%22a11y-live-mon%22%2Co%3Ddocument.getElementById(e)%3Bo%26%26o.remove()%3Bconst%20t%3Ddocument.createElement(%22div%22)%3Bt.id%3De%2Ct.style%3D%22position%3Afixed%3Bright%3A8px%3Btop%3A8px%3Bwidth%3A360px%3Bmax-height%3A70vh%3Boverflow%3Aauto%3Bbackground%3A%23fff%3Bborder%3A1px%20solid%20%23ccc%3Bborder-radius%3A10px%3Bpadding%3A8px%3Bz-index%3A2147483647%3Bfont%3A12px%20monospace%22%2Ct.innerHTML%3D%27%3Cb%3ELive%20region%20monitor%3C%2Fb%3E%3Chr%3E%3Cdiv%20id%3D%22log%22%3E%3C%2Fdiv%3E%27%2Cdocument.body.appendChild(t)%3Bconst%20n%3Dt.querySelector(%22%23log%22)%2Cr%3Dperformance.now()%2Ci%3Dnew%20Set%2Ca%3D%5B...document.querySelectorAll(%27%5Baria-live%5D%2C%20%5Brole%3D%22alert%22%5D%27)%5D%3Bfunction%20c(e)%7Bconst%20o%3Ddocument.createElement(%22div%22)%3Bo.textContent%3D(performance.now()-r%7C0)%2B%22ms%3A%20%22%2Be%2Cn.appendChild(o)%7Dc(%60Watching%20%24%7Ba.length%7D%20regions%60)%3Bnew%20MutationObserver(e%3D%3E%7Be.forEach(e%3D%3E%7Bconst%20o%3Da.find(o%3D%3Eo.contains(e.target))%3Bif(o)%7Bconst%20e%3D(o.innerText%7C%7Co.textContent%7C%7C%22%22).trim().slice(0%2C160)%3Be%26%26%21i.has(e)%26%26(i.add(e)%2Cc(e))%7D%7D)%7D).observe(document.body%2C%7Bsubtree%3A%210%2CchildList%3A%210%2CcharacterData%3A%210%7D)%2Cconsole.log(%22%5CnSource%3A%20https%3A%2F%2Fgithub.com%2Falejandrogiga98%2FA11y-Bookmarklets%5CnBookmarklet%20name%3A%20Live%20region%20monitor%5CnAuthor%3A%20alejandrogiga98%5CnLicense%3A%20MIT%20License%5Cn%22)%7Dcatch(d)%7Balert(%22Bookmarklet%20Error%3A%20%22%2Bd.message)%7D%7D()%3B
← Back to all bookmarklets