Key takeaways
- Use semantic HTML and a logical heading order.
- Every image needs the right alt text; every form field needs a label.
- Everything must work with a keyboard and show a visible focus indicator.
Start with semantic HTML
Native elements such as button, nav, main and label come with built-in keyboard support and meaning for assistive technology. Use them instead of styled divs wherever possible.
Headings and page structure
Use one H1 per page and nest headings in order without skipping levels. Screen reader users often navigate by headings, so a clear outline works like a table of contents.
Alt text and media
Give informative images short, specific alt text that conveys purpose. Mark decorative images with an empty alt attribute, and provide captions or transcripts for audio and video.
Forms and labels
Every field needs a visible, programmatically associated label; a placeholder is not a label. Show error messages next to the field and explain how to fix them.
Keyboard and focus
All interactive elements must be reachable and usable with the Tab, Enter, Space and arrow keys. Never remove the focus outline without providing a clear replacement, and make touch targets at least 24 by 24 CSS pixels.
Contrast, motion and testing
Meet WCAG contrast ratios and respect the prefers-reduced-motion setting. Automated tools find only part of the issues, so combine them with keyboard testing and real user feedback.
Frequently asked questions
Is an accessibility checker enough?+
No. Automated checks catch a portion of issues, so manual testing is still needed.
What is the easiest accessibility win?+
Use semantic HTML, add alt text and labels, and check color contrast.
Try these free tools
- accessibilityAccessibility ChecklistAccessibility Checklist: a free online accessibility tool. Private, instant, no sign-up.Open tool
- accessibilityAlt Text CheckerAlt Text Checker: find problems fast and see clear results. Free and runs in your browser.Open tool
- accessibilityHeading Hierarchy CheckerHeading Hierarchy Checker: find problems fast and see clear results. Free and runs in your browser.Open tool