0Pricing
Web Accessibility Academy · Lesson

Native vs Custom: When to Reach for a Real Element

Why a real button beats a styled span every time.

The Core Choice

For any control you face one choice: use a native HTML element or hand-build a custom one. Native almost always wins.

A Real Button Just Works

A native button is focusable, clickable by mouse, keyboard, and touch, and announced correctly. You write one tag and the platform does the rest.

<button>Buy now</button>

All lessons in this course

  1. Tags Have Meaning: Why div Soup Fails
  2. Text Elements: Paragraphs, Lists, and Emphasis
  3. The Accessibility Tree: What Screen Readers Hear
  4. Native vs Custom: When to Reach for a Real Element
← Back to Web Accessibility Academy