Form Accessibility Analyzer
Paste HTML containing forms to check for missing labels, autocomplete attributes, fieldset groups, error associations, and other accessibility issues.
We fetch the page client-side. Some sites may block external access — use "Paste HTML" as a fallback.
How to Use Form Accessibility Analyzer
- 1
Paste your HTML
Copy the HTML source code containing one or more forms and paste it into the input area.
- 2
Click Analyze
Press the Analyze button to parse all form elements and check them against WCAG criteria.
- 3
Review form scores
Each form receives an accessibility score based on the number and severity of issues found.
- 4
Fix reported issues
Address errors like missing labels and warnings like missing autocomplete attributes, then re-analyze.
Frequently Asked Questions
Related Tools
Form Accessibility: The Most Critical Interaction Pattern
Forms are where users take action on the web: signing up, making purchases, submitting applications, and providing feedback. When forms are inaccessible, entire user journeys break down. Research shows that form-related accessibility issues are among the most commonly reported barriers by users with disabilities. This tool automates the detection of the most impactful form accessibility problems.
Label Association Methods
There are four valid ways to associate a label with a form control in HTML. The explicit label uses a for attribute matching the input's id. The wrapping label encloses the input inside a label element. The aria-label attribute provides an accessible name directly on the input. The aria-labelledby attribute references the id of another element containing the label text. Each method has appropriate use cases, but the explicit for/id association is generally preferred because it provides the largest click target and is most universally supported.
Common Form Accessibility Mistakes
Using placeholder text as the only label is the single most common form accessibility error. Placeholders disappear when users start typing, leaving no visible indication of what the field expects. Other frequent mistakes include failing to group related radio buttons or checkboxes with fieldset and legend elements, omitting the autocomplete attribute on personal data fields, using generic input types when semantic types like email or tel would provide better keyboard experiences, and not associating error messages with their corresponding inputs using aria-describedby.
WCAG Success Criteria for Forms
Multiple WCAG success criteria apply to forms. SC 1.3.1 (Info and Relationships) requires programmatic label associations. SC 1.3.5 (Identify Input Purpose) requires the autocomplete attribute. SC 3.3.1 (Error Identification) requires errors to be described in text. SC 3.3.2 (Labels or Instructions) requires labels or instructions for user input. SC 4.1.2 (Name, Role, Value) requires all UI components to have accessible names and roles. This tool checks for compliance with all of these criteria.