0Pricing
Web Accessibility Academy · Ders

polite ve assertive: Aciliyeti Seçme

Bir güncellemenin kullanıcıyı bölüp bölmeyeceğine karar verin.

polite ve assertive: Aciliyeti Seçme, CoddyKit'te ücretsiz bir Web Accessibility Academy dersidir. Bu, 4 dersinin 1. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, Web Accessibility Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. Web Accessibility Academy kursu toplamda 4 dersten oluşur.

Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.

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. ✅

Sıkça Sorulan Sorular

“polite ve assertive: Aciliyeti Seçme” dersi ücretsiz mi?

Evet — “polite ve assertive: Aciliyeti Seçme” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve Web Accessibility Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. Web Accessibility Academy kursu toplamda 4 dersten oluşur.

“polite ve assertive: Aciliyeti Seçme” dersinde ne öğreneceğim?

Bir güncellemenin kullanıcıyı bölüp bölmeyeceğine karar verin. Web Accessibility Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.

Web Accessibility Academy öğrenmeye başlamak için deneyim gerekli mi?

Önceden deneyim gerekmez. CoddyKit'te Web Accessibility Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 1. dersidir.

“polite ve assertive: Aciliyeti Seçme” dersi ne kadar sürer?

Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.

Bu Web Accessibility Academy dersinde kod yazıp çalıştırabilir miyim?

Evet. Her Web Accessibility Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.

Bu kursun tüm dersleri

  1. polite ve assertive: Aciliyeti Seçme
  2. status, alert ve log Rolleri
  3. Bildirimleri, Yükleyicileri ve Sayıları Duyurma
  4. Canlı Bölgeler Neden Çalışmaz ve Nasıl Düzeltilir
← Web Accessibility Academy Sayfasına Dön