Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. Element
  4. ariaAtomic

Element: ariaAtomic property

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.

TheariaAtomic property of theElement interface reflects the value of thearia-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by thearia-relevant attribute.

Value

A string with one of the following values:

"false"

Assistive technologies will present only the changed node or nodes.

"true"

Assistive technologies will present the entire changed region as a whole, including the author-defined label if one exists.

Examples

In this example thearia-atomic attribute on the element with an ID of"clock" is set to "true". UsingariaAtomic we update the value to "false".

html
<div role="timer" aria-live="polite" aria-atomic="true"></div>
js
let el = document.getElementById("clock");console.log(el.ariaAtomic); // trueel.ariaAtomic = "false";console.log(el.ariaAtomic); // false

Specifications

Specification
Accessible Rich Internet Applications (WAI-ARIA)
# dom-ariamixin-ariaatomic

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp