0Pricing
Web Accessibility Academy · Lektion

Die erste Regel: Kein ARIA ist besser als schlechtes ARIA

Warum natives HTML fast immer die bessere Wahl ist.

Die erste Regel: Kein ARIA ist besser als schlechtes ARIA ist eine kostenlose Web Accessibility Academy-Lektion auf CoddyKit. Dies ist Lektion 1 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des Web Accessibility Academy-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der Web Accessibility Academy-Kurs umfasst insgesamt 4 Lektionen.

Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.

What ARIA Actually Is

ARIA is a set of HTML attributes that tells assistive tech what an element is and does, when the markup alone cannot say it.

ARIA Changes No Behavior

Here is the catch: ARIA only changes what is announced. It never adds clicks, focus, or keyboard support on its own.

<div role="button">Save</div>
<!-- looks like a button, does nothing -->

The First Rule of ARIA

The official first rule: if a native HTML element can do the job, use it instead of recreating it with ARIA.

Native Comes Fully Loaded

A real button is focusable, fires on Enter and Space, and announces its role for free. You write none of that yourself.

<button>Save</button>
<!-- focus, keyboard, role: all built in -->

Why Bad ARIA Is Worse

A wrong role actively lies to users. Bad ARIA beats no ARIA only in harm: it can hide content or describe it incorrectly.

The Override Trap

ARIA overrides native semantics. Slap role=presentation on a heading and screen readers stop treating it as a heading at all.

<h2 role="presentation">Pricing</h2>
<!-- no longer a heading to AT -->

Three Things ARIA Provides

ARIA gives you exactly three kinds of information: a role (what it is), states, and properties. That is the whole toolkit.

ARIA Does Not Touch CSS

Setting aria-hidden on an element hides it from screen readers, but it stays fully visible on screen. The two layers are separate.

<span aria-hidden="true">decorative star</span>
<!-- seen, not heard -->

When ARIA Is the Right Call

Reach for ARIA when no native element fits, like a tablist or a custom slider. Then use it precisely and test it.

Pair ARIA With JavaScript

If you must build a custom widget, ARIA plus JavaScript go together. ARIA names it, JS supplies the focus and keyboard logic.

Less Is More

The best accessible page often has very little ARIA. Semantic HTML first, ARIA only to fill the gaps it leaves behind.

Quick Check

You need a clickable Save control. What is the most accessible choice?

Recap: ARIA Wisely

You learned that ARIA describes, never behaves. Prefer native HTML, add ARIA only to fill real gaps, and test it every time. 🎯

Häufig gestellte Fragen

Ist die Lektion „Die erste Regel: Kein ARIA ist besser als schlechtes ARIA“ kostenlos?

Ja — der vollständige Text von „Die erste Regel: Kein ARIA ist besser als schlechtes ARIA“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des Web Accessibility Academy-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der Web Accessibility Academy-Kurs umfasst insgesamt 4 Lektionen.

Was lerne ich in „Die erste Regel: Kein ARIA ist besser als schlechtes ARIA“?

Warum natives HTML fast immer die bessere Wahl ist. Du übst Web Accessibility Academy mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.

Brauche ich Erfahrung, um Web Accessibility Academy zu starten?

Keine Vorkenntnisse erforderlich. Web Accessibility Academy auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 1 von 4.

Wie lange dauert die Lektion „Die erste Regel: Kein ARIA ist besser als schlechtes ARIA“?

Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.

Kann ich in dieser Web Accessibility Academy-Lektion Code schreiben und ausführen?

Ja. Jede Web Accessibility Academy-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.

Alle Lektionen in diesem Kurs

  1. Die erste Regel: Kein ARIA ist besser als schlechtes ARIA
  2. Rollen definieren, was ein Element ist
  3. Zustände und Eigenschaften: expanded, checked, disabled
  4. Den Accessibility Tree zum Debuggen von ARIA lesen
← Zurück zu Web Accessibility Academy