Barrierefreiheit
ARIA-Verwendung
Warum es wichtig ist
ARIA changes how assistive technology announces elements. An invalid role is ignored, and aria-hidden on focusable elements creates focus stops that screen readers cannot describe. Incorrect ARIA is worse than none (WCAG 4.1.2).
So beheben Sie es
- Use only valid WAI-ARIA roles, and prefer native HTML elements.
- Never put aria-hidden="true" on links, buttons or fields, or containers that hold them, unless they are also made inert.
Bewertung: Ein bestandener Test erhält sein volles Gewicht, eine Warnung die Hälfte, ein Fehler nichts. So funktioniert der SEO-Score