Aksesibilitas
Penggunaan ARIA
Mengapa penting
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).
Cara memperbaiki
- 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.
Skor: pemeriksaan yang lolos mendapat bobot penuh, peringatan mendapat setengahnya, dan kesalahan mendapat nol. Cara skor SEO dihitung