Building Accessible WordPress Contact Forms with Contact Form 7: Accessible Defaults Updated on December 29, 2020 by InMotion Hosting Contributor 1 Minutes, 47 Seconds to Read Contact Form 7 is one of the most popular WordPress contact form builders for a few reasons: It’s completely freeIn-depth input validation checks for better security against phishing and social engineering attacksThe ability to add customize every aspect of user experience (UX) from what can be in the form to how the submitted data is processed The last bullet is what enables making contact forms more accessible to ensure all users can work with them. Since web accessibility is still not a commonly discussed topic, it’s great to have templates to easily learn from and implement. This negates the need for researching best practices for accessible code. For this case, we have the Contact Form 7: Accessible Defaults WordPress plugin, by the same developer that maintains the WP Accessibility suite – Joe Dolson. Contact Form 7: Accessible Defaults adds a Templates page to each contact form configuration page so you can quickly create an accessible form for your needs. This plugin does not make changes to existing contact forms, only contact forms created post-installation. Below we’ll cover how to create an accessible WordPress contact form in Contact Form 7. Create an Accessible WordPress Contact Form Log into your WordPress dashboard.Install the Contact Form 7: Accessible Defaults plugin.Install Contact Form 7, or update it, if you haven’t already. Then, the default contact form will include accessible code from the Accessible Defaults plugin. If you already had Contact Form 7 installed, you’ll need to create a new contact form which will have improved accessibility.Select the Templates tab.Select one of the accessible contact form templates to get started: Basic, Contact with Address, Reservation, Subscription, or File Submission.It will forward you back to the Form section to make changes as needed. To build on an existing contact form, open the existing form page in another browser tab. Then, copy the accessible form code into the older form.Continue to edit the new contact form as needed and save changes. Improve the performance and security of your WordPress website with our WordPress VPS Hosting plans. Web Application Firewalls Free SSL Certificates Advanced Server Caching WordPress VPS Plans Learn more about how to build a more accessible WordPress website with Access Monitor tests, or about more possibilities in our WordPress Education Channel. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How to Add Social Media Icons and Social Media Buttons to WordPress Using Stackable for WordPress W3 Total Cache – Guide to WordPress Caching Using Wordfence Login Security for 2FA Top Monitoring Plugins for WordPress How to Setup an Affiliate System in WordPress Google Web Stories Creates Beautiful Content for WordPress Websites WordPress comment spam prevention with Akismet How to Use WP 2FA for WordPress Using Twentig to Build Your WordPress Site
Does the use of Contact 7 require any additional set up in cPanel or InMotion to use as mail sender, etc.?
Hello! While not required on a technical level, it’s very, very highly recommended that you use some form of WordPress SMTP, usually with a plugin like WP Mail SMTP or Easy WP SMTP. The built in PHP Mail function of WordPress tends to get marked as spam by most filters. If you’re running in to an error after that, be sure to check your email logs to see what the error is, which will help you narrow down the issue to troubleshoot. I hope that helps!