Semantics, Labels, Roles, Focus
Use proper semantics, connect labels to inputs, rely on roles, and move focus where the user needs it.
Why accessibility basics
Goal: Make UI understandable by assistive tech.
- Use real elements (button, nav, form)
- Give inputs proper labels
- Manage focus for flows
Semantics & roles overview
- Prefer native semantics: button instead of div
- Implicit roles are provided by real elements
- Add ARIA only when native semantics are not enough
All lessons in this course
- Semantics, Labels, Roles, Focus
- Keyboard Interactions & Skip Links
- Testing A11y Basics