WCAG Fix Templates
Common accessibility issues with copy-paste code solutions
Major
Missing Document Language
The page must specify its primary language.
✗ Don't do this
<html>
<head>...</head>
</html>
✓ Do this instead
<html lang="en">
<head>...</head>
</html>
<!-- For multilingual content -->
<p>The French word <span lang="fr">bonjour</span> means hello.</p>
Tips:
- Use ISO 639-1 language codes (en, es, fr, zh)
- Specify regional variants: en-US, en-GB, zh-TW
- Mark language changes within content
- Helps screen readers with pronunciation
Find these issues automatically
WCAG Pulse scans your website and shows exactly which fixes you need.
Try Free Scan