Accessible Names, Labels, and Alt Text
Core Rule
If a user cannot see the screen, the HTML should still describe the purpose of the content or control.
<img src="avatar.jpg" alt="Alex Johnson" />
<button type="button">Save changes</button>
Common Failures
- Decorative filenames used as alt text
- Buttons with only ambiguous icons and no label
- Inputs without visible or programmatic labels