Website Forms Accessibility: Labels, Errors and Required Fields
Accessible forms use real labels, clear error messages and logical order.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Checklist
- Every field has a visible label connected to the input.
- Placeholder text is not the only label.
- Required fields are marked in text, not only color.
- Error messages say what is wrong and where, and are announced to screen readers.
- Use the correct input types (email, tel) and autocomplete hints.
- Group related fields.
- Do not rely on timeouts that lose entered data.
Test
Complete the form using only the keyboard, then with a screen reader if you can. See Website Accessibility Quick Audit: What to Check and Fix.
Related guides
- WPForms or Gravity Forms Entries Not Saving
- WordPress Shows the Wrong Time or Publishes at the Wrong Time
- Where to Add Custom CSS or Code in WordPress Without Losing It After Updates
- "The Uploaded File Exceeds the upload_max_filesize" in WordPress: Fix
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.