Can everyone fill in my questionnaire? (accessible survey, WCAG)
In brief
A questionnaire is accessible if people can fill it in who, for example, cannot see, cannot use a mouse or cannot tell colours apart. The widely used yardstick is the Web Content Accessibility Guidelines (WCAG 2.2) of the W3C. They contain success criteria with levels A, AA and AAA. Five of them concern questionnaires in particular: an image needs a text alternative (1.1.1), meaning must not lie only in the presentation (1.3.1), colour must not be the only means of distinction (1.4.1), everything must be operable with the keyboard (2.1.1), and where something has to be entered a label is needed (3.3.2). All five are level A.
Do it yourself
The five elements of an invented questionnaire on student advice are described below. Check each for a barrier: what is lost, for whom, and which criterion is concerned? Only then read the solution.
| No. | Element (invented) |
|---|---|
| 1 | A diagram of the waiting times at the advice service, with no text for it. |
| 2 | A scale that shows only the numbers 1 to 5 as answers. |
| 3 | The help text “Choose the green field for yes and the red field for no.” |
| 4 | A slider for satisfaction that can only be dragged with the mouse. |
| 5 | An input field for age with no label above it. |
Solution
- The diagram needs a text alternative that serves the equivalent purpose (1.1.1). Otherwise people with a screen reader do not learn what it shows. Pure decoration is excepted.
- The scale conveys its meaning only to sighted people (1.3.1): a number does not say whether 1 means good or bad. Every level needs a text. Statable reports this as a hint, not as a violation.
- The help text distinguishes by colour alone (1.4.1). Whoever cannot see colours cannot tell yes and no apart. Better: name text or a symbol in addition, for example “the field on the left labelled ‘Yes’”.
- The slider must be operable with keys (2.1.1), for example with arrow keys or through a number field. Statable offers sliders only with a keyboard alternative.
- The field needs a label or instruction (3.3.2) that says what is to be entered.
What Statable checks and what it does not
The quality check finds images without alternative text, scale levels with numbers only and texts that connect colour words with “field”, “circle” or “marked”. The colour rule only looks for words; whether colour really is the only distinction is for the person to judge. Not checked are, for example, contrast (level AA requires a ratio of at least 4.5 to 1 for text, 1.4.3), behaviour with a screen reader and operation with the keyboard alone. A person does these tests.
How it works in Statable
- In “Plan a questionnaire” (#fragebogen) create an image without alternative text, a scale whose levels consist of a single number and a help text with “green field”. Under “Findings” the accessibility hints appear, with source and a button to the question.
- In the preview you operate the page with the keyboard only (Tab, arrow keys, Enter) and check whether everything can be reached.
Not true - this is how it is
Sources
W3C (2024). Web Content Accessibility Guidelines (WCAG) 2.2, success criteria 1.1.1, 1.3.1, 1.4.1, 1.4.3, 2.1.1 and 3.3.2 (wording read). https://www.w3.org/TR/WCAG22/
Take away
- WCAG 2.2 is the yardstick; for questionnaires alternative text, labels, colour, keyboard and scale texts count in particular.
- Every answer level needs a text, even if it is not visible.
- Colour must not be the only means of distinguishing answers.
- Statable checks only a part; a person checks contrast, screen reader and keyboard.