• Success Criterion 4.1.3
  • Conformance level AA

Character Counter That Updates Only Visually While Typing

4.1.3 — Status Messages

Scenario

Setting

A ticket marketplace's seat-selection map

What’s wrong

Character counters/quota warnings updating visually only.

Example

<div id="cart-status">Item added</div> <!-- silent DOM update -->

Why it matters

Screen-reader users who need spoken confirmation of saves, errors, and results.

How to test

Watch a character counter or quota warning update while typing, with a screen reader running: if there's no announcement as it changes, it fails.

How to fix

The status text must be wired as a live region (code that makes screen readers announce updates)/status role so screen readers announce it automatically without moving focus.

<div id="cart-status" role="status" aria-live="polite">Item added</div>

role="status" with aria-live announces the update to screen reader users without moving their focus.

Outcome

On a ticket marketplace's seat-selection map, this barrier is gone for screen-reader users who need spoken confirmation of saves, errors — they no longer have to work around this.

Who is affected

Screen-reader users who need spoken confirmation of saves, errors, and results.

Learn more