Pass the menu and read the page

SignupFolio

Why USWDS is slating validation for removal after v3.12.0

The answer: validation leaves USWDS after v3.12.0

USWDS is slating its validation component for removal from future versions and will stop supporting it after USWDS v3.12.0, according to the validation page. The team gives its reason directly: testing and research recently uncovered major usability and accessibility issues with the component. The page says validation is intended primarily for usability and that it is not a robust security solution, because all of the validation logic runs in the browser. It adds that validation should be mirrored on the server, and it points to security as the reason.

Nothing in this decision asks you to abandon feedback in the browser. Instant hints that tell someone a field is malformed can still help people finish a form. The practical question is how far to trust those hints and what to build around them once the component is gone. This post works through the two problems the page points to, explains what each means for a signup form, and sets out the options that remain.

Everyday takeaways

  • Treat v3.12.0 as the version after which USWDS stops supporting the validation component.
  • Keep browser-side checks for quick feedback, and judge them by whether they help people finish the form.
  • Enforce every security-relevant rule again on the server, since browser checks cannot protect stored data.
  • Test validation messages with real users, because the usability problems the page reports can reach real people.
  • Plan your replacement before the version you depend on reaches the removal point.

Three concerns side by side

ProblemWhat the validation page saysWhat it means for a signup form
Usability and accessibilityTesting and research turned up issues with this componentError messages may confuse or exclude some people, so test them before relying on them
Browser-only checksRules run only where the browser can skip themAny check that protects stored data needs a server-side check as well
Removal timingSlated for removal and not supported after USWDS v3.12.0Set a replacement date ahead of the version you depend on

The table sets each concern against its consequence for a form. The first concern is about people. Validation that people cannot perceive, understand, or act on has failed, even when the rule underneath it is correct. The second concern is about data. A rule that runs only in the browser can be skipped, so it cannot decide whether a record is accepted.

These concerns differ in kind, so they need different fixes. Usability and accessibility problems are solved by redesigning the message, placement, and behavior of errors and then testing them. The data gap is closed by moving the decision to a place the user cannot change. Growth leads often hear validation discussed as one feature, but its purpose and its protection are separate, and planning should treat them that way. The timing point connects the two. Removal turns any reliance on the component into a maintenance task with a known end, rather than an open-ended dependency.

Problem one: usability, not security

The first problem is the one the page states most directly. Testing and research recently turned up problems with this component that affect the people filling in your form, and those people are not only developers reading code. A field message that a screen reader announces poorly, or an error a person cannot locate on a long page, is a usability failure even when the rule behind it is correct.

Consider how a typical error appears. A field turns red and a short message shows up beneath it. A sighted user may connect the two at a glance, but a person using a screen reader hears the message only if it is tied to the field and announced at the right moment. Someone with low vision may miss a color change entirely. Each of these failures is a usability problem before it is anything else, and each is found by watching someone try to finish the form.

The same page also describes what the component is for. Its purpose is usability, and it is not built to guard data, because all of the validation logic occurs on the client side. The browser decides whether a field looks right before the form is sent, and anyone who sends data directly to your endpoint can bypass that decision. A signup form that accepts an invalid address because the browser check was skipped has not been protected by the component at all.

For growth leads, this distinction changes how a feature should be evaluated. A validation tool that catches typos early and helps people finish the form is doing its job. A tool treated as the gate between bad data and your records is being asked to do something it was never designed for. The first problem is therefore a mismatch between what teams hope the component guarantees and what the source says it delivers. Keep the usability benefit, measure it with the people who use your form, and stop expecting it to carry security weight.

Mirror every rule on the server

The second problem leads to the page's most specific instruction. The page uses the word "mirrored" for this idea: every rule the browser enforces is also enforced by the server that receives the submission. The browser gives fast feedback, and the server makes the final decision.

RuleBrowser roleServer role
Required fieldsQuick feedback before the form is sentSame rule enforced again before anything is accepted
Field formatUsability aid that catches mistakes earlySame rule enforced again before anything is stored
Any rule guarding stored dataHelpful, but never the final checkDecides what the system accepts

Read the table row by row. The required-field rule and the format rule each have a browser version for convenience and a server version for protection. The server copy is not optional when the rule guards something you store, charge for, or use to grant access. Many teams share a single rule definition between front end and back end to avoid duplicated logic, but the guidance asks for the mirror itself, not for a particular implementation.

Consider a signup form that asks for a work email. The browser may reject an address without an at sign before submission. If the server accepts the same address, a direct request can still create an account with malformed data. Mirroring closes that gap because the same condition is checked again where the data is accepted.

The server does not need to reproduce every hint. A browser can offer a gentle reminder about a date format, while the server only needs to confirm that the date it receives is valid and falls within the range your business accepts. Separating the two keeps server code focused on what must be true before a record is written.

Mirroring also protects the usability work. When the server rejects something the browser missed, the error has to reach the user in the same clear form the front end uses. Otherwise the accessibility concerns from the first problem return in the server response. Plan the error path as carefully as the rule itself.

Why the 14 tests do not settle validation

The number that appears most often in discussions of this decision is 14, and it helps to be precise about where it comes from. The in-page navigation page states that the USWDS team did 14 tests based on WCAG 2.1 AA success criteria. That sentence sits on the page for a different component, so it documents how the team tested that component against a named standard.

FigureValueWhere it appears
Tests run by the USWDS team14In-page navigation page
Standard used for those testsNamed on the pageIn-page navigation page
Final version with supportv3.12.0Validation page

The table makes the scope visible. The 14 tests and the standard show the team's testing method, while v3.12.0 is the figure that governs the validation component's future. Those are separate facts. The decision on validation rests on the statement made on the validation page itself: usability and accessibility issues were found with this component. Read together, the two pages give a clear picture. One shows how USWDS tested, and the other states what it concluded about validation.

For a growth lead, the practical reading is simple. Do not cite the count of 14 as evidence about validation specifically. Cite the validation page for the removal, its usability and accessibility statements for the reason, and v3.12.0 for the timeline. A decision built on those three statements is firmer than one built on a number that belongs to another component.

Server failures sit outside client checks

Client-side validation runs before a form leaves the browser. It can catch an empty field or a malformed address, but it has no say over what happens after the request reaches your server. A database can be unreachable, a dependency can time out, or a bug can break the submission handler. When that happens, the person filling in the signup form needs a page that explains the problem, and no front-end check can supply one.

The GOV.UK Design System covers this situation in its guidance on problem-with-the-service pages. The GOV.UK pattern page notes that these are also known as 500 and internal server error pages. That label places the failure on the server, which is where a validation-only strategy has no reach.

For a signup form, two kinds of failure need separate handling. One is a rule the user got wrong, which the browser can flag early and the server can reject with a clear message. The other is a system fault, which the user cannot fix by changing their input. Confusing the two produces messages that blame the person for a problem they did not cause, or an unexplained blank screen after they press submit.

Plan both paths. Keep field-level messages for input problems, and make sure the server failure page uses plain language, tells the person what to do next, and does not expose internal details. A useful test is to ask what a person sees after a database error, and what they see when their own connection drops mid-submit. In both cases the message should say whether the form was received, whether anything was saved, and whether to try again or contact support. Default error pages rarely answer those questions, so write the answers before launch rather than after the first complaint. Dropping the validation component changes nothing about this layer. If anything, it makes the split between input checks and server responses more important to get right.

Accessibility duties under Section 508

For federal digital services, accessibility is a legal requirement rather than a preference. The Section508.gov develop page says it helps agencies design and develop digital products and services that meet their responsibilities under Section 508 of the Rehabilitation Act, which requires conformance with the Section 508 Standards. That framing matters here. An agency that relied on a component with known accessibility problems would be carrying a known concern into a duty the law assigns.

A validation message a screen reader cannot announce clearly, or a red outline that is the only sign of an error, may fail that duty even when the rule underneath is correct. Testing with the people who use your form is the most reliable way to find those failures.

The same guidance frames accessibility as program work. It describes how to manage a federal IT Accessibility Program, which means checks belong in the routine process for building and changing forms, not in a one-time review at launch. Each new validation rule, error summary, or inline hint is a change to be checked again.

The guidance is written for agencies, so a private company's signup form should treat it as a model rather than a legal checklist. The reasoning still carries over. A form some people cannot complete is losing signups, and the same testing discipline protects both goals.

The Revised 508 Standards in practice

This part of the guidance names the target more directly. It describes using technology that conforms to the Revised 508 Standards, and it offers help for agencies working to comply with Section 508 of the Rehabilitation Act. For a team building a signup form, the useful question is not whether the form feels accessible but whether the technology it uses conforms to the standard it is measured against.

In practice, this means choosing components and patterns that can be shown to conform, then checking your own additions against the same standard. A validation layer added to a conforming base can still break conformance if its messages are hidden from assistive technology, or if color is the only way an error is shown. Removing a component is a reminder that conformance must be verified in the finished form, not assumed from the library it came from.

A workable approach has three steps. Inventory every point where the form tells a person something is wrong. Test each one with assistive technology and with keyboard-only navigation. Record the results so the next change starts from evidence rather than memory. This follows the same testing logic described above, applied to your own product.

Keep the scope honest. The Revised 508 Standards are the reference for agency technology, so use them as a rigorous benchmark for your signup form, and describe your claims only in terms you can demonstrate.

Which one should you pick?

If you must choose one approach for a signup form now, make mirrored server-side validation the foundation and treat browser checks as an optional usability layer. The page's own wording points that way. The component serves usability, it cannot stand in for security, and the server must enforce the rules again. Whatever happens in the browser, the server decides what the system accepts.

Keep the browser layer only where it helps people finish the form. Keep quick hints for a format a person is likely to get wrong, such as a date or an email address, only if testing with real users shows they help people finish the form. Make sure those hints are announced to assistive technology and do not depend on color alone. If a browser check cannot be tested for accessibility, or it only duplicates the server without improving the experience, drop it. The conformance target those checks must meet is the one described earlier.

Plan the migration around the version named above. USWDS will not support validation after v3.12.0, so a form that depends on the component should have its replacement in place before that version is the one you deploy. Set a date for the server-side mirror, then add browser hints on top of it once they pass testing.

Choose the foundation first, then decide what the browser adds. That order means a removed component, a changed library, or a skipped script cannot leave your records open to invalid data.

Comparison of validation options

The three options below differ mainly in where the decision is made and who is protected by it.

OptionMain purposeSecurity roleAccessibility testing neededBest fit
Browser-side validation onlyInstant feedback in the browserCannot protect stored data, since every check runs in the browserYes, because the usability problems described above applyLow-stakes fields where a skipped check causes no harm
Browser hints plus mirrored server checksQuick feedback, with the server making the final decisionThe server check provides the protectionYes, for both the hints and the server error messagesMost signup forms that store or act on submitted data
Server-side checks with a clear failure pageAccept or reject submissions and explain the outcomeThe server makes every decisionYes, for error messages and the failure pageForms where browser scripts may be unavailable or unreliable

The first option is the one to avoid relying on alone. It delivers helpful feedback but leaves the final decision to a layer that cannot protect data. The second option matches the guidance most closely: the browser helps people, and the server enforces the rules that matter. The third removes any dependence on the browser for the decision, which suits forms where scripts may not always run, though it gives people less immediate guidance while they type.

Teams often ask which option is cheapest to build. The honest answer is that the server-side work is the part that cannot be skipped, so it should come first even when it is the least visible. The browser layer can be added later, improved over time, and removed without risk to your records.

None of the three removes the need for accessibility testing. Each produces error messages that people must perceive and understand, so each should be tested with the people who use the form. The choice between them comes down to how much you rely on the browser for anything beyond convenience.

Reader questions

Does USWDS still support the validation component? The validation page says the component is slated for removal and will not be supported after USWDS v3.12.0. Form owners who depend on it should plan a replacement before they reach that version.

Should I remove client-side checks altogether? Not necessarily. The component serves usability, so instant feedback can still help people finish a form. Keep the checks where they help, and test them for accessibility.

Why can't browser checks protect my data? Because the logic runs in the browser, where it can be skipped. Any rule that protects stored or acted-on data needs a matching check on the server.

What does "mirrored" mean in practice? Each rule enforced in the browser is also enforced by the server that receives the submission. The browser gives quick feedback, and the server makes the final decision.

What should happen when the server itself fails? Treat server failures, which can appear as 500 and internal server error pages, as separate from input errors. Show a plain page that explains what happened and what the person can do next.

Do Section 508 duties apply to a private signup form? Those duties are written for agencies and their federal IT programs. A private company should treat them as a model for building and testing accessible forms, not as a legal checklist.

Does the figure of 14 tests show that validation was tested? No. That figure belongs to the in-page navigation page, which reports the 14 tests against the standard named there. For validation, rely on the statement that it has usability and accessibility problems.

Sources and check date

Related posts

More posts