Sub topic 11
Check accessibility basics
Accessibility means that people with different abilities, devices, and situations can use your page. That includes visitors who use a screen reader, navigate with a keyboard, have low vision or color blindness, or read in bright sunlight on a phone. For a campaign page, accessibility also protects conversions, because every visitor who can't read your headline or submit your form is a lost lead.
This chapter assumes you have already built a page with a hero section, a lead form, and a responsive layout in your builder. You don't need to write code. Most checks happen in the builder's settings and in your browser.
What to check and why
Builders give you good defaults, but they can't judge your content. Four areas are the most likely to go wrong on a landing page:
- Text contrast: text that is too faint against its background.
- Alternative text: images with no description for people who can't see them.
- Structure: headings that are out of order or used only for size.
- Keyboard and form use: buttons and fields that can't be reached or understood without a mouse.
The Web Content Accessibility Guidelines (WCAG) are the standard most organizations use. They have three conformance levels: A, AA, and AAA. Level AA is the usual target, and the checks below follow it.
Text contrast
Contrast ratio compares the brightness of text with the brightness of its background. The ratio runs from 1:1 (no difference) to 21:1 (black on white). WCAG AA asks for:
| Text type | Minimum ratio |
|---|---|
| Normal text (under about 24 px, or under 19 px if bold) | 4.5:1 |
| Large text (about 24 px and up, or 19 px and up if bold) | 3:1 |
| Button borders, form field borders, and icons that carry meaning | 3:1 |
Check contrast in these places, because they fail most often:
- White text on a hero photo. The photo's brightness changes across the image, so one part of the headline may pass while another fails. Add a dark overlay to the image or place the text on a solid panel.
- Light-gray placeholder text and form hints.
- Brand-colored buttons. A bright orange button with white text often falls below 4.5:1.
- Text on a colored section, such as a pale yellow offer banner.
To test a pair of colors, copy the hex values from the builder's color picker into a contrast checker. Browser developer tools also show the ratio when you inspect a text element. Test the hover and disabled states of buttons too, since they use different colors.
Alternative text for images
Alt text is a short written description attached to an image. Screen readers read it aloud, and browsers show it when the image fails to load. Most builders have an "Alt text" or "Description" field in the image settings.
Write alt text by asking what the image contributes to the page:
| Image role | What to do | Example |
|---|---|---|
| Informative (a product screenshot) | Describe what matters in one sentence | "Dashboard showing weekly sign-ups rising from 40 to 120" |
| Functional (a logo that links home) | Describe the action or destination | "Example Co home page" |
| Decorative (a background swirl) | Leave alt empty or mark it decorative | (empty) |
| Contains text (a promo badge) | Repeat the text | "20% off annual plans" |
Avoid starting with "Image of" or "Picture of", because screen readers already announce that the element is an image. Don't paste keywords into alt text for search ranking. Descriptive text serves both users and search engines.
If your hero image already says everything the headline says, mark it decorative so screen reader users don't hear the same message twice.
Heading structure
Headings let screen reader users jump through a page the way sighted users scan it. Most builders offer heading levels H1 to H6 in the text settings.
Follow these rules:
- Use exactly one H1, and make it the hero headline.
- Use H2 for each major section, such as benefits, proof, and the final call to action.
- Use H3 only under an H2 when a section has subparts.
- Don't skip levels, such as jumping from H1 to H4.
- Don't pick a heading level for its size. Change the font size in the style settings instead.
Many builders show an outline or navigator panel that lists the headings. Read it from top to bottom. If it reads like a sensible table of contents for the offer, the structure is sound.
Keyboard access and focus
Some visitors never use a mouse. They press Tab to move forward, Shift+Tab to move back, Enter to activate a button or link, and Space to tick a checkbox. Test this yourself on the published preview:
- Click the browser address bar, then press Tab repeatedly.
- Confirm that focus moves in the same order as the visual layout: logo, links, hero button, form fields, submit button.
- Confirm that you can always see where focus is. A visible outline or highlight should appear on the current element.
- Confirm that you never get trapped, for example inside a pop-up you can't close with Escape.
- Submit the form using only the keyboard.
Two common builder problems appear here. Some themes remove the focus outline for a cleaner look, which hides the focus position from keyboard users. If you can't restore it in the style settings, a small custom CSS rule can help:
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 3px solid #1a56db;
outline-offset: 2px;
}The second problem is a "button" built from a clickable image or a plain text box. It looks right but can't be reached by Tab. Use the builder's real button element for your primary call to action.
Form labels, errors, and touch targets
Forms are the heart of a lead page, and the place where most accessibility failures cost you leads.
- Give every field a visible label such as "Work email". Placeholder text alone disappears as soon as someone types, and it often has poor contrast.
- Mark required fields in text, for example "(required)", not only with a colored asterisk.
- Write specific error messages next to the field, and keep the visitor's typed data after an error.
- Use the correct field type, such as email or phone, so mobile devices show a suitable keyboard.
- Make tap targets at least 44 by 44 pixels where you can, with space between them, so thumbs don't hit the wrong control.
- Make button text say what happens: "Get my 20% discount" is clearer than "Submit".
Link text also matters. Screen reader users often pull up a list of all links on the page, so "Click here" and "Learn more" repeated five times are useless out of context. Write "Read the privacy notice" instead.
Motion, video, and text size
- Avoid autoplaying video with sound. If a background video plays, provide a way to pause it.
- Avoid flashing content, which can trigger seizures.
- Provide captions for any video that has speech.
- Keep body text at 16 px or larger, and check that the page remains usable when a visitor zooms the browser to 200%. Text should reflow without hiding content or forcing sideways scrolling.
Run a quick audit
Automated tools catch roughly a third of accessibility problems, mainly contrast, missing alt text, and missing form labels. They can't tell whether your alt text is meaningful or your focus order is sensible. Combine both kinds of testing:
- Run an automated checker, such as the Lighthouse accessibility audit in Chrome developer tools or a browser extension like axe DevTools. Fix every flagged item.
- Walk through the keyboard test above.
- Zoom to 200% and check the mobile preview.
- Turn on a screen reader briefly, such as VoiceOver on Mac and iPhone, TalkBack on Android, or NVDA on Windows. Listen to the hero and the form.
Record what you fixed. In the later chapter on pre-launch checks, you will reuse this list.
Common mistakes
- Treating a high Lighthouse score as proof of accessibility. A score of 100 still allows poor alt text and confusing focus order.
- Testing only the desktop view. Contrast and text size problems often appear on mobile, where the hero image crops differently.
- Putting key information, such as the offer's end date, only inside an image.
- Using a pop-up form that doesn't return focus to the page when closed.
- Hiding the focus outline in the theme and never checking again.
Exercise
Your hero has a white headline over a photo, and the contrast checker reports 2.8:1 on the brightest part of the photo. Name two ways to fix this without changing the headline wording, and say which minimum ratio you are aiming for.
Show answer
Add a dark semi-transparent overlay to the photo, or place the headline on a solid colored panel (darkening the text area of the photo also works). The headline is large text, so the minimum under WCAG AA is 3:1. If the headline is below the large-text size, the minimum is 4.5:1.
Exercise
A teammate sets the "Spring sale" section title as an H4 because the H2 style looks too big. What is wrong, and what should they do instead?
Show answer
Heading levels describe structure, not size, and jumping from H1 to H4 breaks the outline that screen reader users navigate by. They should set the title as H2 and reduce the font size in the style settings.
Exercise
Your form uses placeholder text such as "Email" inside each field, with no separate labels. List two accessibility problems this causes.
Show answer
The placeholder disappears when the visitor starts typing, so they can't check what the field asks for, and placeholder text is usually light gray with poor contrast. Screen readers may also not announce placeholders reliably as labels. The fix is to add a visible label above each field.