Element: ariaBusy プロパティ
Baseline 2023 Newly available
Since October 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
ariaBusy は Element インターフェイスのプロパティで、要素が変更されているかどうかを示す aria-busy 属性の値を反映します。支援技術は、ユーザーに公開する前に変更が完了するまで待ちたい場合があります。
値
以下のいずれかの値を持つ文字列です。
例
この例では、ID が clock の要素の aria-busy 属性が "false" に設定されています。ariaBusy を使用して、値を "true" に更新します。
html
<div id="clock" role="timer" aria-live="polite" aria-atomic="true" aria-busy="false"></div> js
let el = document.getElementById("clock"); console.log(el.ariaBusy); // false el.ariaBusy = "true"; console.log(el.ariaBusy); // true 仕様書
| Specification |
|---|
| Accessible Rich Internet Applications (WAI-ARIA)> # dom-ariamixin-ariabusy> |