Element.ariaBusy
The ariaBusy property of the Element interface reflects the value of the aria-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.
Syntax
var ariaBusy = element.ariaBusy; element.ariaBusy = ariaBusy
Value
A DOMString with one of the following values:
"true"-
There are no expected updates for the element.
"false"-
The element is being updated.
Examples
In this example the aria-busy attribute on the element with an ID of clock is set to "false". Using ariaBusy we update the value to "true".
<div id="clock" role="timer" aria-live="polite" aria-atomic="true" aria-busy="false"></div>
let el = document.getElementById('clock'); console.log(el.ariaBusy); // false el.ariaBusy = "true" console.log(el.ariaBusy); // true
Specifications
| Specification |
|---|
| Accessible Rich Internet Applications (WAI-ARIA) 1.2 (WAI-ARIA 1.2) # dom-ariamixin-ariabusy |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
ariaBusy |
81 |
81 |
No |
No |
68 |
12.1 |
81 |
81 |
No |
58 |
12.2 |
13.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaBusy