Skip to main content

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Create a Form

Form creation patterns demonstrate different field types, layouts, and validation approaches for building accessible government forms.

Complete Registration Form

A comprehensive form with multiple field types demonstrating common patterns.

Account registration

* indicates a required field

Use your work or .gov email

At least 12 characters

Notifications

Preferred contact method

Form with Input Groups

Forms using input prefixes and suffixes for better context.

Payment information

9-digit routing number

Form with Character Count

A form with a textarea that includes a character counter.

Provide feedback
Maximum 500 characters 0 of 500 characters used

Multi-Section Form

A form organized into multiple sections with a step indicator.

Contact details

Form with Conditional Fields

A form that shows/hides fields based on user selection.

Report type

Accessibility Considerations

  • Use autocomplete attributes on all personal data fields
  • Group related fields with fieldset and legend
  • Provide hint text for format requirements
  • Use aria-describedby to associate hints and errors with inputs
  • Ensure form labels are properly associated with inputs
  • Use aria-required for required fields in addition to visual indicators
  • Test keyboard navigation and screen reader compatibility

agency.gov

An official website of the Agency

Looking for U.S. government information and services?
Visit USA.gov