Element: ariaBusy property
Baseline 2023Newly available
Since October 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
TheariaBusy property of theElement interface reflects the value of thearia-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
In this article
Value
A string with one of the following values:
Examples
In this example thearia-busy attribute on the element with an ID ofclock is set to "false". UsingariaBusy we update the value to "true".
html
<div role="timer" aria-live="polite" aria-atomic="true" aria-busy="false"></div>js
let el = document.getElementById("clock");console.log(el.ariaBusy); // falseel.ariaBusy = "true";console.log(el.ariaBusy); // trueSpecifications
| Specification |
|---|
| Accessible Rich Internet Applications (WAI-ARIA)> # dom-ariamixin-ariabusy> |