# \[aria-atomic\]

> The `aria-atomic` ARIA attribute specifies whether assistive technologies should present updates to an element as a whole or in parts.

## What does aria-atomic='true' do in a live region?

The attribute that indicates whether the assistive technology should treat updates to an element as a whole or in parts. When set to 'true', it tells screen readers to present the entire content as a single unit.

- Topic: Global ARIA Attributes
- Type: attribute

## Example

Wrong:

```html
<p aria-live="polite">
  Cart: <span id="count">2</span> items
</p>
```

Right:

```html
<p aria-live="polite" aria-atomic="true">
  Cart: <span id="count">2</span> items
</p>
```

With `aria-atomic='true'`, changing the count reads the full sentence instead of just the new number.

## Common mistakes

- Only the changed number is read, like '3' instead of 'Item 3 of 10', because `aria-atomic` is missing.

## Key points

- `aria-atomic` is set on the live region (or an ancestor inside it), not on unrelated elements.
- Regions where a partial update loses meaning, like 'Item 3 of 10', use `aria-atomic='true'`.

## Interview questions

### What is the default value of aria-atomic?

The default is 'false', so only the changed nodes are announced. The `status` and `alert` roles imply 'true'.

### Does aria-atomic work without aria-live?

It has effect only inside a live region, which can come from `aria-live` or from a live role like `status`, `alert` or `log`.

## Related cards

- [\[aria-live\]](https://wonderium.dev/a11y/aria-live.md)
- [\[aria-relevant\]](https://wonderium.dev/a11y/aria-relevant.md)
- [Live Region](https://wonderium.dev/a11y/live-region.md)
- [status](https://wonderium.dev/a11y/status.md)

---

- Level: [Accessibility](https://wonderium.dev/a11y.md)
- HTML version: https://wonderium.dev/a11y/aria-atomic
- Last updated: 2026-11-25
