HTML & CSS QualityLesson 33Free preview
Accessibility
This lesson is part of Intro to HTML & CSS · All levels
Summary
Accessibility ensures that the page is accessible to everyone, including screen reader users and keyboard users. This material covers alt text, heading structure, color contrast, and ARIA attributes. Accessible pages are also generally more search engine friendly and more structured.
Key points
- Always fill in the alt on the image and use the right semantic elements
- Contrasts of the text are at least 4.5:1 for normal text (WCAG AA)
- ARIA like the aria-labels give accessible names to elements without text visible
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.