← Wszystkie kryteria WCAG 2.1
3.3.3Poziom AA3.3 Input Assistance

Sugestie korekty błędów

If an input error is automatically detected and suggestions for correction are known, then the suggestion is provided to the user, unless it would jeopardize the security or purpose of the content.

Co to oznacza

Zrozumieć KS Sugestie korekty błędów | Jak spełnić KS Sugestie korekty błędów (Poziom AA) Jeśli automatycznie zostanie wykryty błąd wprowadzania danych i znane są sugestie korekty, wtedy użytkownik otrzymuje takie sugestie, chyba, że zagrażałoby to bezpieczeństwu treści lub zmieniło jej cel.

Failing example

<!-- Fails: error message says "invalid" without guidance -->
<input type="email" aria-invalid="true"
       aria-describedby="email-error">
<p id="email-error">Invalid input.</p>

How to fix it

<!-- Pass: error message explains what is wrong and how to fix it -->
<input type="email" aria-invalid="true"
       aria-describedby="email-error">
<p id="email-error" role="alert">
  Please enter a valid email address, for example [email protected].
</p>

Jak A11yRisk to wykrywa

A11yRisk wykrywa to kryterium automatycznie.

Skanuj swoją witrynę pod kątem tego naruszenia