Before approving signup controls, check target sizes, name the WCAG version and level, and test the values month fields submit.
Key takeaways
- Ask for measured target sizes in CSS pixels.
- Write the WCAG version and level into the requirement.
- Test each month field's submitted value in the build.
- Review the results with your developer before approval.
If you are a growth lead rather than a tester, you do not have to write the tests yourself. Your part is to turn a general goal, such as an accessible form, into something a developer can measure or test: a number, a named version and level, or a range of values. The first two checks concern size and version, and the third concerns numbering.
The post sticks to what the published sources say. Where a rule comes from one agency, program or standard, the post names that source, so the rule is not read as a rule for every form. The checks need three things from your developer: measured numbers, a named version and level, and a test you can watch.
Start with the legal context, because the sources tie some of these requirements to specific bodies. The U.S. Web Design System (USWDS) says its four accessibility principles are the foundation of Section 508 of the Rehabilitation Act of 1973. Section 508 was amended in 1998 to require federal agencies to make their electronic and information technology accessible to people with disabilities. That requirement names federal agencies as the parties it applies to, so this post treats it as one reference point rather than as a rule for every signup form. One of the four principles the USWDS lists is Understandable, and the third check returns to it.
Check one: what size should a tap or click target be?
The W3C's Understanding page for Success Criterion 2.5.5: Target Size describes an exception for equivalent targets. If there is more than one target on a screen that performs the same action, only one of the targets needs to meet the target size of 44 by 44 CSS pixels. The exception turns on whether the targets perform the same action, so that is the fact to establish for each pair of targets before anyone relies on it. When a developer asks what the measure is, the W3C page is the place to point, because it gives the figure directly.
The equivalent-targets wording matters when one action appears more than once on a screen. A form might repeat its main action near the top and again near the bottom of the page. Each copy is a target that performs that action, so that pair can fall under the exception. If two targets do not perform the same action, the exception does not apply to them as a pair. The exception lowers the number of targets that must meet the size only for pairs that really perform the same action, so it is not a shortcut for skipping measurement.
Illustrative example: reviewing repeated targets
Imagine a screen with a pair of targets that perform the same action. The developer measures a target at 50 by 50 CSS pixels and records the other target's smaller size. Compare the measurements with the target-size requirement, then record why the pair qualifies for the equivalent-targets exception. Continue measuring the remaining controls separately.
The case shows how the rule reads for one pair of targets. It says nothing about the other controls on the form, and each of those needs its own measurement.
In a review meeting, start with the list of tap and click targets rather than the design file. Go through the form from top to bottom and ask for each control's size and whether another target on the same screen performs the same action. Ask about the screen, not the whole site, because the exception is described in terms of targets on a screen. If a control has no measured size, the check is not complete for that control, and the exception cannot help until both halves of a pair are known. Run this check before the layout is signed off rather than after. A change to a control's size is easier to request while the layout is still open, and the measured numbers give the design team something specific to act on.
Measurement matters more than appearance. A design that looks large enough in a mockup can be built at a different size, so the number should come from the build or from the developer's measurement of it. A size taken from a mockup is not automatically a size in CSS pixels, so ask for the value in CSS pixels specifically. Your approval does not replace the developer's measurement. It sets the standard that the measurement is judged against.
The controls to measure are the ones people tap or click on the way to finishing signup, such as buttons, text links, checkboxes, radio options, and any icon that opens a menu. Include small controls as well as large ones, because the figure applies to each target in the same way.
If a control is smaller than 44 by 44 CSS pixels and no other target on the screen performs the same action, the control does not meet the minimum touch target the W3C page describes. The fix is a design question for your developer and designer. Your job as the approver is to send it back with the measured value attached to the control.
Approve this check only when every tap or click target has a measured size and each use of the exception names the pair of targets it covers. For a related control check, review visible labels and accessible names.
Check two: which WCAG version should you approve against?
For legal compliance, the USWDS treats WCAG 2.0 Level AA as the baseline, and it works toward WCAG 2.1 AA, which it says also meets legal requirements.
Think of the legal baseline as the level the page names for compliance, and WCAG 2.1 AA as the level it works toward. A requirement should state which of the two it uses, so the developer does not have to guess which one the approval means.
WCAG 2.2 is treated differently. The page says that WCAG 2.2 is not required for legal compliance right now, but that USWDS strives to achieve as many of the latest success criteria as it can, and intends to incrementally work toward AAA compliance. For an approver, the practical point is that the version and level need to be written into the requirement. A form measured against 2.0 Level AA, 2.1 AA, or 2.2 is measured against different targets, and a request that says only "accessible" leaves the developer to pick one.
The version should come from the requirement, not from a developer's preference. The developer's job is to show the form's result against that named version. Keeping those two roles apart makes it easier to tell whether a failure belongs to the requirement or to the build.
A visual review does not show conformance to a named version and level. The developer or tester has to run checks against the named target and report what they found. That report is the part of this check that you can ask to see, and a report that gives only a pass or fail without the version it was run against does not answer the question.
Whether these statements reach your own signup forms depends on which laws apply to you, so have counsel confirm that before you rely on them. The page's statement about WCAG 2.2 is worded for the present ("right now"), so ask whoever owns the requirement to check that position again before each launch.
An approval note can name the version and level in one sentence, such as "approved against WCAG 2.1 AA, with the test result for that version." That wording states the target and the evidence for it in one line, which is easier to review than a general note about accessibility. See also which WCAG version to cite on a signup page.
Check three: what month values should you test?
The HTML Standard's autofill section describes month-number conversion using the ranges 1..12 and 0..11.
The HTML Standard describes a user agent converting "July" to a month number in the range 1..12, like the field. In another line, it describes converting "July" to a month number in the range 0..11, like the field. Both lines use the phrase "like the field," so the range in each is described in relation to the field. A month field can look like the simplest control on a form, but its submitted value and numbering must be checked in the build.
The two ranges differ by one at each end, 0 against 1 and 11 against 12, so a check that looks only at the month name will not show which range the number follows. If you test July, the expected month number is 7 in the 1..12 range and 6 in the 0..11 range, so record which one the build sends. A person sees a month name, while the form submits a value that the test must check.
The Understandable principle covers the user's side of the same control. The USWDS says users must be able to understand both how the user interface operates and the meaning of information presented. Applied to a month control, the question is whether a person can see which month they picked before they submit, and whether the value the form sends matches what they saw.
Ask the developer for a simple test: choose a month such as July, note the value the field submits, in the format the build actually sends, and compare it with the expected format and numbering. Repeat the test on every other month field on the page, since a second field may use a different range. Run the test on the live build rather than on a prototype, because a prototype may not send the same value as the build. When the developer reports back, ask for the submitted value and expected format side by side, so the result shows whether they match.
Writing the expected range into the spec before the build gives the developer a fixed value to match. Without that, the test can only show what the build does, not what the form was meant to do.
Numbering also matters beyond the field itself. If the month value is passed to another system, the number has to mean the same thing at each step, so ask whether the value leaves the form and, if it does, in what format.
Requests to send before launch
Send your developer these four requests before the form ships, and treat each one as a condition of approval.
- A list of every tap or click target on the form, with its measured size in CSS pixels, the action it performs, and the other target it is equivalent to, if any.
- The WCAG version and level written into the requirement, with the test result against that named target.
- The expected format and numbering used by each month field, and the exact value the field submits for July.
- A walkthrough of the form in front of you, including the month test.
Today, put these requests into your form review and ask your developer to attach the measurements and test results.
Questions before launch
Can a visual review establish conformance?
No; ask for test results against the version and level named in the requirement.
What should you record for a month field?
Record the selected month, its submitted value, and the expected format and numbering so you can compare them.