0Pricing
Web Accessibility Academy · Lesson

polite vs assertive: Choosing Urgency

Decide whether an update interrupts the user.

polite vs assertive: Choosing Urgency is a free Web Accessibility Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Web Accessibility Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

What a Live Region Is

A live region is an element a screen reader watches, so it speaks any text that changes inside it without the user moving focus there.

Two Politeness Levels

The aria-live attribute has two useful values you will reach for constantly: polite and assertive. They decide how an update is delivered. 🔊

Polite Waits Its Turn

With polite, the screen reader finishes whatever it is saying, then reads your update. It never cuts the user off mid-sentence.

<div aria-live="polite">Draft saved</div>

Assertive Interrupts Now

With assertive, the screen reader stops what it is reading and announces your update right away. Use it only when waiting would cost the user.

<div aria-live="assertive">Connection lost</div>

Polite Is the Default Choice

Reach for polite almost every time. Save, sort, filter, and progress updates can all wait a beat without confusing anyone.

Save Assertive for Real Urgency

Use assertive only for things the user must hear immediately, like a failed payment or a session about to expire.

There Is Also Off

The value off tells the screen reader to ignore changes in that element. It is the implicit default for elements you have not marked as live.

<div aria-live="off">Silent updates</div>

The Region Must Exist First

The live element should be in the DOM before the text changes. Screen readers watch existing regions, so add it empty and fill it later.

<div id="msg" aria-live="polite"></div>

Change Text, Not the Region

Announce by updating the text content inside the existing region. Swapping the whole region out can make the announcement silently fail.

document.getElementById('msg').textContent = 'Saved';

Assertive Can Pile Up

Fire several assertive updates fast and they fight each other, interrupting and talking over the last one. Polite queues them in order instead.

Match Urgency to Impact

Pick the level by asking how much an interruption helps. Most updates: polite. Errors and warnings the user must act on: assertive.

Quick Check

You add a small confirmation that a list was sorted. Which politeness level fits best?

Recap: Choosing Urgency

You learned that polite waits and assertive interrupts. Default to polite, reserve assertive for true urgency, and keep the region in the DOM. ✅

Frequently asked questions

Is the “polite vs assertive: Choosing Urgency” lesson free?

Yes — the full text of “polite vs assertive: Choosing Urgency” is free to read here on the web, and the Web Accessibility Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Web Accessibility Academy course, upgrade to CoddyKit PRO.

What will I learn in “polite vs assertive: Choosing Urgency”?

Decide whether an update interrupts the user. You practise Web Accessibility Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Web Accessibility Academy?

No prior experience is required. Web Accessibility Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “polite vs assertive: Choosing Urgency” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Web Accessibility Academy lesson?

Yes. Every Web Accessibility Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. polite vs assertive: Choosing Urgency
  2. status, alert, and log Roles
  3. Announcing Toasts, Loaders, and Counts
  4. Why Live Regions Fail and How to Fix Them
← Back to Web Accessibility Academy