Sub topic 11
Check accessibility basics
This chapter assumes you have a responsive landing page in your builder, with a hero, a form, and optimized images. Accessibility means people can use the page with a keyboard, a screen reader, low vision, or color blindness. It also helps everyone on a small screen in bright sunlight, so it often improves conversions.
The working model
Most builders generate acceptable HTML. Accessibility problems usually come from the choices you make in the editor. Four areas cover most of them:
- Text contrast
- Alt text for images
- Form labels and keyboard use
- Heading structure
Text contrast
Low contrast between text and background is the most common failure. The WCAG guidelines (the Web Content Accessibility Guidelines) set a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. Large text means about 24px, or 19px bold.
Check the places where you put text over a photo or a brand-colored button. Light gray on white and white on a pale accent color are typical failures. Use a free contrast checker, and enter your text and background hex codes.
Alt text
Alt text is a short description of an image that screen readers read aloud. It also appears if the image fails to load.
- Describe what the image shows and why it matters: "Dashboard showing weekly signups rising".
- Leave alt text empty for purely decorative images, so screen readers skip them.
- Do not write "image of". Do not stuff keywords.
- If text is baked into an image, repeat that text in the alt text. Better, use real text on the page.
Forms and keyboard use
Every field needs a visible label. A placeholder alone is not enough, because it disappears when the visitor types. Mark required fields in the label text, not by color alone. Write error messages that say what to fix, such as "Enter an email address like [email protected]".
Test with the keyboard only:
- Click the address bar, then press Tab repeatedly.
- Confirm focus moves in a logical order: navigation, hero button, form fields, submit.
- Confirm you can always see which element has focus.
- Press Enter on the button to submit.
Headings and links
Use one H1 for the headline. Use H2 for section titles and H3 for subsections beneath them. Choose headings by meaning, not by size. If you want smaller text, change the style and keep the heading level.
Button and link text should make sense out of context. "Get my free trial" works. "Click here" does not.
Common errors
| Error | Fix |
|---|---|
| White text on a light hero photo | Add a dark overlay or move the text to a solid panel |
| Placeholder used as the only label | Add a visible label above each field |
| Headings chosen for size | Set the level by structure, then style it |
| Color alone shows an error | Add an icon or text message |
| Auto-playing background video | Remove it, or add a pause control |
Exercise
Your hero has white 18px text on a light blue button, and the form uses placeholders instead of labels. Name two fixes you would make and one test you would run.
Show answer
Darken the button color (or use dark text) until the contrast ratio reaches at least 4.5:1, and add a visible label to each form field. Then run a keyboard-only test: Tab through the page, confirm focus is visible and in logical order, and submit the form with Enter.