HTML — HTML Accessibility Basics
Accessibility helps people with disabilities use websites. Common practices:
- Use
altfor images - Add
aria-labelfor screen readers - Use proper heading hierarchy
<h1> - <h6>
<button aria-label='Play video'>▶</button>Accessibility helps people with disabilities use websites. Common practices:
alt for imagesaria-label for screen readers<h1> - <h6><button aria-label='Play video'>▶</button>