Open the door for every user: 8 challenges on aria-label, landmarks and alt text. An HTML accessibility game for understanding screen readers and WCAG.
alt describes the image's content to someone who can't see. If the image is just decoration, use alt="" (empty) so it's skipped.
Use the HTML element that matches its function. If it's a button, use <button>. If it's a link (navigates pages), use <a href>.
Every input needs a label. A placeholder isn't a label: it disappears when the user types, and screen readers sometimes skip it.
aria-label = a hidden name for assistive tech. Use it when a visual element (an icon) has no text.