At Typeform, we care about accessibility, and to make it easier for you to create accessible forms and landing pages, we’ve implemented an accessibility checker. Read on to find out how to check for accessibility issues using this tool.
The accessibility checker checks for the the following:
- Button color contrast against the background
- Button text color contrast against button background
- Text color contrast against the background (question and answer text in forms)
- The presence or absence of image Alt text
In forms, the checker also looks at whether the question type itself is fully accessible. All question types owned by Typeform are accessible, but we can’t guarantee the accessibility of questions integrated with external tools. For example, if you add a Calendly question to your form, the accessibility checker will show a warning message explaining that we can’t guarantee the accessibility of this integration.
The checker verifies color contrast and image alt text according to WCAG 2.1 Level AA accessibility standards. The color contrast guidelines for this standard are the following:
- Text and/or images of text have a contrast ratio of at least 4.5:1, except:
- Large-scale text and images of large-scale text (18pt to 14pt bold), which should have a ratio of at least 3:1
You can read more about the W3C WCAG contrast minimum guidelines.
Check your form for accessibility issues
To check which parts of your form are accessible already and which parts could be improved, open up a form and click the Check accessibility button from the tool bar.
A list will appear, and will show you how your form is doing in the different areas we check.
You can click the arrows to expand and read more about each category.
You can also click on any issue to find out where to fix it. In this example, the form has some accessibility issues with its theme color, and by clicking the name of the issue, the design menu will appear.
Now when we choose a different theme, the accessibility report also gets updated in real time.
In the example below, we selected the default Typeform theme - which was designed with accessibility in mind - to make sure everything checks out.
Next, you can check for any Alt text issues in your form. If you see an error here, that might be because the Alt text description of an image is missing somewhere in your form.
To fix this issue, you can either add Alt text to an image, or if the image is purely decorative and its description doesn’t have to be read out by screen readers, use the Decorative image checkbox to disable Alt text.
Next up is the Other option. You might get a warning message here if your question is connected to an external tool like Calendly.
Check your page for accessibility issues
The accessibility checker for Pages works the same way as the one for forms but looks at the blocks on your page.
Open your page in the editor and click the Accessibility icon in the toolbar. A red dot on the icon means there are issues to review.
In the Accessibility panel, click the arrows to expand the Color and Alt text categories.
Fix each issue marked with a red X. A green check mark means that item passes.
The Color category tells you whether your text, buttons, and button text have enough contrast with their backgrounds. To fix an issue, try a different color or theme in the Design menu.
The Alt text category lists each block that has an image without alt text.
To fix an issue, add alt text to the image:
1. Select the image and click the media settings icon.
2. Enter a short description of the image in the Alt text field.
3. If the image is purely decorative and doesn’t need to be read out by screen readers, select the Decorative image checkbox instead.
You can also ask Typeform AI to add alt text to your images.
Give the accessibility checker a try and see how accessible your forms and pages are. You can read more about how to create accessible forms and how to add accessible videos to your forms.