HTMLHTML · Lesson 15

Accessibility Basics

Landmarks, alt text, labels, focus order and ARIA.

Video tutorialTrack course · freeCodeCamp
Speed
Next lesson
Watch 00:00 · 1 checkpoints Watch on YouTube More on this topic
Transcript & captions
7/7
  • Use real buttons and links, not clickable divs — they come with keyboard support for free.
  • Keep a logical heading order so screen reader users can scan the page.
  • Label every form field.
  • Never remove the focus outline without replacing it with a visible one.
  • Use ARIA only when no native element does the job.
Try it yourself

Knowledge check

0/1 answered

What is the first rule of ARIA?